]> git.baikalelectronics.ru Git - 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)
commit059db359dfcf0243e57fbb4e6d54b789908cc431
tree34b0e63285ba24f897998fd7dcf7102a107cff61
parent9dc3db66fc2f691a219b3cb054d42d84701f3894
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