diff options
author | James Chapman <jchapman@katalix.com> | 2012-04-10 02:10:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-13 17:01:44 +0200 |
commit | c9be48dc8bb22f1f6e6ff1560b2b28e925a0b815 (patch) | |
tree | b8f42aa6aed3289bf8dfd4b9a036efea93e1df0b /net/caif | |
parent | l2tp: fix refcount leak in l2tp_ip sockets (diff) | |
download | linux-c9be48dc8bb22f1f6e6ff1560b2b28e925a0b815.tar.xz linux-c9be48dc8bb22f1f6e6ff1560b2b28e925a0b815.zip |
l2tp: don't overwrite source address in l2tp_ip_bind()
Applications using L2TP/IP sockets want to be able to bind() an L2TP/IP
socket to set the local tunnel id while leaving the auto-assigned source
address alone. So if no source address is supplied, don't overwrite
the address already stored in the socket.
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif')
0 files changed, 0 insertions, 0 deletions