selinux: remove the BUG_ON() from selinux_skb_xfrm_sid()
authorPaul Moore <pmoore@redhat.com>
Tue, 23 Jul 2013 21:38:40 +0000 (17:38 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 25 Jul 2013 17:02:13 +0000 (13:02 -0400)
Remove the BUG_ON() from selinux_skb_xfrm_sid() and propogate the
error code up to the caller.  Also check the return values in the
only caller function, selinux_skb_peerlbl_sid().

Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>

No differences found