summaryrefslogtreecommitdiff
path: root/net/netlabel
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2008-10-10 10:16:29 -0400
committerPaul Moore <paul.moore@hp.com>2008-10-10 10:16:29 -0400
commitaa86290089a1e57b4bdbbb4720072233f66bd5b2 (patch)
tree9ab16f4d22056297f1571bb7b2b988bff84c8a10 /net/netlabel
parentaccc609322ef5ed44cba6d2d70c741afc76385fb (diff)
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 <paul.moore@hp.com> Acked-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions