From: Benjamin LaHaise Date: Tue, 20 Mar 2012 03:57:54 +0000 (+0000) Subject: Fix pppol2tp getsockname() X-Git-Tag: v3.4-rc1~177^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbdb32cb5b73597386913d052165423b9d736145;p=pandora-kernel.git Fix pppol2tp getsockname() 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 Signed-off-by: James Chapman Signed-off-by: David S. Miller --- Reading git-diff-tree failed