[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120320.161327.1634186044606581815.davem@davemloft.net>
Date: Tue, 20 Mar 2012 16:13:27 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jchapman@...alix.com
Cc: bcrl@...ck.org, netdev@...r.kernel.org
Subject: Re: [PATCH] Fix pppol2tp getsockname()
From: James Chapman <jchapman@...alix.com>
Date: Tue, 20 Mar 2012 14:49:02 +0000
> On 20/03/12 13:57, Benjamin LaHaise wrote:
>> 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@...ck.org>
>
> Signed-off-by: James Chapman <jchapman@...alix.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists