esp6: Fix esp6_gso_segment()
Subsystems (3)
PATCH 1/1 esp6: Fix esp6_gso_segment()
This NULL test is inverted so the function become a no-op.
Fix: 7862b4058b9f10 ("esp: Add gso handlers for esp4 and esp6")
Signed-off-by Dan Carpenter <[email protected]>
---
This is still in Steffen's git tree and not yet in the networking tree.
net/ipv6/esp6_offload.c +1 -1
@@ -120,7 +120,7 @@ static struct sk_buff *esp6_gso_segment(struct sk_buff *skb,netdev_features_t esp_features = features;struct xfrm_offload *xo =xfrm_offload (skb); -if (xo) +if (!xo) goto out; seq = xo->seq.low;
Steffen Klassert
maintainerQuoted 6 lines · Dan Carpenter
This NULL test is inverted so the function become a no-op.
Fix:
7862b4058b9f10("esp: Add gso handlers for esp4 and esp6")Signed-off-by Dan Carpenter <[email protected]>---
This is still in Steffen's git tree and not yet in the networking tree.
Same patch was already sent to netdev, so I took that one.
Thanks anyway!