commit | aa86290089a1e57b4bdbbb4720072233f66bd5b2 | [log] [tgz] |
---|---|---|
author | Paul Moore <paul.moore@hp.com> | Fri Oct 10 10:16:29 2008 -0400 |
committer | Paul Moore <paul.moore@hp.com> | Fri Oct 10 10:16:29 2008 -0400 |
tree | 9ab16f4d22056297f1571bb7b2b988bff84c8a10 | |
parent | accc609322ef5ed44cba6d2d70c741afc76385fb [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>