diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2016-12-30 18:48:19 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-07 01:59:46 (GMT) |
commit | 000224c1106c2abc21a376c5bb851b1ffe4b4458 (patch) | |
tree | e3f86567a59ec6a53392b3d3844939d6c8a69f62 /include | |
parent | c2804b21f2e7f46f76500aa58850127b31054c84 (diff) | |
download | linux-000224c1106c2abc21a376c5bb851b1ffe4b4458.tar.xz |
l2tp: consider '::' as wildcard address in l2tp_ip6 socket lookup
[ Upstream commit 97b84fd6d91766ea57dcc350d78f42639e011c30 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions