]> err.no Git - linux-2.6/commit
NetLabel: Add IP address family information to the netlbl_skbuff_getattr() function
authorPaul Moore <paul.moore@hp.com>
Tue, 29 Jan 2008 13:38:04 +0000 (08:38 -0500)
committerJames Morris <jmorris@namei.org>
Tue, 29 Jan 2008 21:17:20 +0000 (08:17 +1100)
commit75e22910cf0c26802b09dac2e34c13e648d3ed02
treebf5f5c62f6db8a3057a0265dc7748bf310d26d4a
parent16efd45435fa695b501b7f73c3259bd7c77cc12c
NetLabel: Add IP address family information to the netlbl_skbuff_getattr() function

In order to do any sort of IP header inspection of incoming packets we need to
know which address family, AF_INET/AF_INET6/etc., it belongs to and since the
sk_buff structure does not store this information we need to pass along the
address family separate from the packet itself.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/net/netlabel.h
net/netlabel/netlabel_kapi.c
security/selinux/hooks.c
security/selinux/include/netlabel.h
security/selinux/netlabel.c