diff options
-rw-r--r-- | net/ipv4/esp4.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c index 452910dae89f..1af332df72d9 100644 --- a/net/ipv4/esp4.c +++ b/net/ipv4/esp4.c | |||
@@ -261,8 +261,7 @@ static int esp_input(struct xfrm_state *x, struct sk_buff *skb) | |||
261 | * as per draft-ietf-ipsec-udp-encaps-06, | 261 | * as per draft-ietf-ipsec-udp-encaps-06, |
262 | * section 3.1.2 | 262 | * section 3.1.2 |
263 | */ | 263 | */ |
264 | if (x->props.mode == XFRM_MODE_TRANSPORT || | 264 | if (x->props.mode == XFRM_MODE_TRANSPORT) |
265 | x->props.mode == XFRM_MODE_BEET) | ||
266 | skb->ip_summed = CHECKSUM_UNNECESSARY; | 265 | skb->ip_summed = CHECKSUM_UNNECESSARY; |
267 | } | 266 | } |
268 | 267 | ||