diff options
author | Paul Moore <paul.moore@hp.com> | 2008-10-10 10:16:29 -0400 |
---|---|---|
committer | Paul Moore <paul.moore@hp.com> | 2008-10-10 10:16:29 -0400 |
commit | aa86290089a1e57b4bdbbb4720072233f66bd5b2 (patch) | |
tree | 9ab16f4d22056297f1571bb7b2b988bff84c8a10 /include/net | |
parent | accc609322ef5ed44cba6d2d70c741afc76385fb (diff) | |
download | blackbird-op-linux-aa86290089a1e57b4bdbbb4720072233f66bd5b2.tar.gz blackbird-op-linux-aa86290089a1e57b4bdbbb4720072233f66bd5b2.zip |
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 'include/net')
0 files changed, 0 insertions, 0 deletions