l2tp: take PMTU from tunnel UDP socket
authorDmitry Petukhov <dmgenp@gmail.com>
Tue, 8 Apr 2014 20:23:20 +0000 (02:23 +0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 20:20:33 +0000 (13:20 -0700)
commit55c7f1333a119001b21f9fa0e650827d96d05b08
tree6214c646286cf0f7f2681f660a3f8ac3077e2dac
parent42c15611b670e03185f78bfdc8b6eaa3596b1049
l2tp: take PMTU from tunnel UDP socket

[ Upstream commit f34c4a35d87949fbb0e0f31eba3c054e9f8199ba ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/l2tp/l2tp_ppp.c