]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'iptunnel-pkt-scrub-consolidate'
authorDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 19:35:02 +0000 (14:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 19:35:02 +0000 (14:35 -0500)
commitc06b5b7be1d4964617ef67f2bef7eeca275cca3a
treef6c595f28145dc17d4dd983c0e0d64c19e1ebbfd
parent8e4f7566569d66ff4f73eeb48d3bc22498861ce9
parent55e919c339a8e427f41b2541a67ef16b2336b633
Merge branch 'iptunnel-pkt-scrub-consolidate'

Jiri Benc says:

====================
iptunnel: scrub packet in iptunnel_pull_header

As every IP tunnel has to scrub skb on decapsulation, iptunnel_pull_header
tried to do that and open coded part of skb_scrub_packet. Various tunneling
protocols (VXLAN, Geneve) then called full skb_scrub_packet on their own,
duplicating part of the scrubbing already done.

Consolidate the code, calling skb_scrub_packet from iptunnel_pull_header.
This will allow additional cleanups in VXLAN code, as the packet is scrubbed
early during rx processing after this patchset and VXLAN can start filling
out skb fields earlier.

The full picture of vxlan cleanup patches can be seen at:
https://github.com/jbenc/linux-vxlan/commits/master
====================

Signed-off-by: David S. Miller <davem@davemloft.net>