From: David Howells Date: Sun, 27 Jul 2008 11:31:07 +0000 (+1000) Subject: SELinux: Fix a potentially uninitialised variable in SELinux hooks X-Git-Tag: v2.6.28-rc1~724^2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf9481e289247fe9cf40f2e2481220d899132049;p=pandora-kernel.git SELinux: Fix a potentially uninitialised variable in SELinux hooks Fix a potentially uninitialised variable in SELinux hooks that's given a pointer to the network address by selinux_parse_skb() passing a pointer back through its argument list. By restructuring selinux_parse_skb(), the compiler can see that the error case need not set it as the caller will return immediately. Signed-off-by: David Howells Signed-off-by: James Morris --- Reading git-diff-tree failed