summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-07-25 14:53:33 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-26 14:06:34 -0700
commit2b139e6b1ec86e1d3646039965dd79ad05d8dca4 (patch)
tree8118769260d6bd3c5d27472c4cd4ff4ae3e579b9 /Makefile
parent63135ee0a6e5f5a5ad1345e48099e62d3d617a81 (diff)
downloadlinux-2b139e6b1ec86e1d3646039965dd79ad05d8dca4.tar.bz2
l2tp: remove ->recv_payload_hook
The tunnel reception hook is only used by l2tp_ppp for skipping PPP framing bytes. This is a session specific operation, but once a PPP session sets ->recv_payload_hook on its tunnel, all frames received by the tunnel will enter pppol2tp_recv_payload_hook(), including those targeted at Ethernet sessions (an L2TPv3 tunnel can multiplex PPP and Ethernet sessions). So this mechanism is wrong, and uselessly complex. Let's just move this functionality to the pppol2tp rx handler and drop ->recv_payload_hook. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions