]> err.no Git - linux-2.6/commit
NetLabel: convert a BUG_ON in the CIPSO code to a runtime check
authorPaul Moore <paul.moore@hp.com>
Wed, 28 Feb 2007 20:14:21 +0000 (15:14 -0500)
committerJames Morris <jmorris@namei.org>
Thu, 26 Apr 2007 05:35:47 +0000 (01:35 -0400)
commit128c6b6cbffc8203e13ea5712a8aa65d2ed82e4e
tree1b3717c2d5972a03eeef1f9eb6e9c0de064a1dfb
parentf998e8cb52396c6a197d14f6afb07144324aea6d
NetLabel: convert a BUG_ON in the CIPSO code to a runtime check

This patch changes a BUG_ON in the CIPSO code to a runtime check.  It should
also increase the readability of the code as it replaces an unexplained
constant with a well defined macro.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
net/ipv4/cipso_ipv4.c