diff options
author | Benjamin LaHaise <bcrl@kvack.org> | 2012-03-19 23:57:54 -0400 |
---|---|---|
committer | Luis Henriques <luis.henriques@canonical.com> | 2012-04-05 11:17:32 -0400 |
commit | 6e076d81b4a365c80dabaf1803b204c0c667c301 (patch) | |
tree | 4be4b85c30e93cc78b21e9196719e03b06374314 /net/core/dev.c | |
parent | c66a891c5ad8bcc7eb440863facebe09ba9b8875 (diff) |
Fix pppol2tp getsockname()
BugLink: http://bugs.launchpad.net/bugs/971808
[ Upstream commit bbdb32cb5b73597386913d052165423b9d736145 ]
While testing L2TP functionality, I came across a bug in getsockname(). The
IP address returned within the pppol2tp_addr's addr memember was not being
set to the IP address in use. This bug is caused by using inet_sk() on the
wrong socket (the L2TP socket rather than the underlying UDP socket), and was
likely introduced during the addition of L2TPv3 support.
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions