From: Paul Moore Date: Tue, 29 Jan 2008 13:38:08 +0000 (-0500) Subject: SELinux: Convert the netif code to use ifindex values X-Git-Tag: v2.6.25-rc1~1136^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8bfdb9d0dfc1231a6a71e849dfbd4447acdfff6;p=pandora-kernel.git SELinux: Convert the netif code to use ifindex values The current SELinux netif code requires the caller have a valid net_device struct pointer to lookup network interface information. However, we don't always have a valid net_device pointer so convert the netif code to use the ifindex values we always have as part of the sk_buff. This patch also removes the default message SID from the network interface record, it is not being used and therefore is "dead code". Signed-off-by: Paul Moore Signed-off-by: James Morris --- Reading git-diff-tree failed