summaryrefslogtreecommitdiffstats
path: root/kernel/net/ipv6/esp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/ipv6/esp6.c')
-rw-r--r--kernel/net/ipv6/esp6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/ipv6/esp6.c b/kernel/net/ipv6/esp6.c
index 060a60b2f..111ba55fd 100644
--- a/kernel/net/ipv6/esp6.c
+++ b/kernel/net/ipv6/esp6.c
@@ -418,7 +418,7 @@ static int esp6_input(struct xfrm_state *x, struct sk_buff *skb)
esph = (void *)skb_push(skb, 4);
*seqhi = esph->spi;
esph->spi = esph->seq_no;
- esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.input.hi);
+ esph->seq_no = XFRM_SKB_CB(skb)->seq.input.hi;
aead_request_set_callback(req, 0, esp_input_done_esn, skb);
}