]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
l2tp: rely on ppp layer for skb scrubbing
authorGuillaume Nault <g.nault@alphalink.fr>
Tue, 29 Dec 2015 12:06:59 +0000 (13:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jan 2016 21:45:24 +0000 (16:45 -0500)
commit98f40b3e22aed519bc545ba3cc7d884ede9428c9
tree28e634b6da2bc2be941ecfaaa839f6e593d7bf9d
parent04c67a90ab947560564f875033f0e06ddfa0c7af
l2tp: rely on ppp layer for skb scrubbing

Since 79c441ae505c ("ppp: implement x-netns support"), the PPP layer
calls skb_scrub_packet() whenever the skb is received on the PPP
device. Manually resetting packet meta-data in the L2TP layer is thus
redundant.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ppp.c