Thread (6 messages) flat view 6 messages, 3 authors, 2019-07-21

Re: [PATCH v2] vrf: make sure skb->data contains ip header to make routing

From: David Miller <davem@davemloft.net>
Date: 2019-07-21 20:33:35
Also in: lkml

From: Peter Kosyh <redacted>
Date: Fri, 19 Jul 2019 11:11:47 +0300
vrf_process_v4_outbound() and vrf_process_v6_outbound() do routing
using ip/ipv6 addresses, but don't make sure the header is available
in skb->data[] (skb_headlen() is less then header size).

Case:

1) igb driver from intel.
2) Packet size is greater then 255.
3) MPLS forwards to VRF device.

So, patch adds pskb_may_pull() calls in vrf_process_v4/v6_outbound()
functions.

Signed-off-by: Peter Kosyh <redacted>
Applied and queued up for -stable, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help