summaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_ip.c
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2016-12-30 19:48:19 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-02 04:07:20 +0100
commit97b84fd6d91766ea57dcc350d78f42639e011c30 (patch)
tree7ea887ac5bcd03bbbf5e68b549b8ac39274b68c7 /net/l2tp/l2tp_ip.c
parentdrop_monitor: add missing call to genlmsg_end (diff)
downloadlinux-97b84fd6d91766ea57dcc350d78f42639e011c30.tar.xz
linux-97b84fd6d91766ea57dcc350d78f42639e011c30.zip
l2tp: consider '::' as wildcard address in l2tp_ip6 socket lookup
An L2TP socket bound to the unspecified address should match with any address. If not, it can't receive any packet and __l2tp_ip6_bind_lookup() can't prevent another socket from binding on the same device/tunnel ID. While there, rename the 'addr' variable to 'sk_laddr' (local addr), to make following patch clearer. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_ip.c')
0 files changed, 0 insertions, 0 deletions