From: Paul Moore Date: Fri, 10 Oct 2008 14:16:29 +0000 (-0400) Subject: selinux: Correctly handle IPv4 packets on IPv6 sockets in all cases X-Git-Tag: v2.6.28-rc1~609^2~1^2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa86290089a1e57b4bdbbb4720072233f66bd5b2;p=pandora-kernel.git selinux: Correctly handle IPv4 packets on IPv6 sockets in all cases We did the right thing in a few cases but there were several areas where we determined a packet's address family based on the socket's address family which is not the right thing to do since we can get IPv4 packets on IPv6 sockets. This patch fixes these problems by either taking the address family directly from the packet. Signed-off-by: Paul Moore Acked-by: James Morris --- Reading git-diff-tree failed