[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190721.133332.437348204765200497.davem@davemloft.net>
Date: Sun, 21 Jul 2019 13:33:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: p.kosyh@...il.com
Cc: dsa@...ulusnetworks.com, shrijeet@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] vrf: make sure skb->data contains ip header to make
routing
From: Peter Kosyh <p.kosyh@...il.com>
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 <p.kosyh@...il.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists