]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
l2tp: take PMTU from tunnel UDP socket
authorDmitry Petukhov <dmgenp@gmail.com>
Tue, 8 Apr 2014 20:23:20 +0000 (02:23 +0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Apr 2014 19:24:38 +0000 (15:24 -0400)
commitf34c4a35d87949fbb0e0f31eba3c054e9f8199ba
tree34b0e63285ba24f897998fd7dcf7102a107cff61
parent629c9a8fd0bbdfc6d702526b327470166ec39c6b
l2tp: take PMTU from tunnel UDP socket

When l2tp driver tries to get PMTU for the tunnel destination, it uses
the pointer to struct sock that represents PPPoX socket, while it
should use the pointer that represents UDP socket of the tunnel.

Signed-off-by: Dmitry Petukhov <dmgenp@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ppp.c