l2tp: take PMTU from tunnel UDP socket
authorDmitry Petukhov <dmgenp@gmail.com>
Tue, 8 Apr 2014 20:23:20 +0000 (02:23 +0600)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 9 Jun 2014 12:28:55 +0000 (13:28 +0100)
commit109d10d19ff823dd63d0045cc2667708c923b83d
tree38055ad66057400455b22239816c20417fe81300
parent5bd43c3b3164abc6da4618a373a701be812eb163
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: Ben Hutchings <ben@decadent.org.uk>
net/l2tp/l2tp_ppp.c