]> Pileus Git - ~andy/linux/commit
selinux: pull address family directly from the request_sock struct
authorPaul Moore <pmoore@redhat.com>
Tue, 3 Dec 2013 16:39:13 +0000 (11:39 -0500)
committerPaul Moore <pmoore@redhat.com>
Wed, 4 Dec 2013 21:08:27 +0000 (16:08 -0500)
commit0b1f24e6db9a60c1f68117ad158ea29faa7c3a7f
tree3720295706f668b9a8f6e5d754ec0a7bcbe9e14e
parent050d032b25e617cd738db8d6fd5aed24d87cbbcb
selinux: pull address family directly from the request_sock struct

We don't need to inspect the packet to determine if the packet is an
IPv4 packet arriving on an IPv6 socket when we can query the
request_sock directly.

Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/hooks.c