netlabel: Fix a potential NULL pointer dereference
authorPaul Moore <paul.moore@hp.com>
Wed, 3 Dec 2008 08:37:04 +0000 (00:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Dec 2008 08:37:04 +0000 (00:37 -0800)
commitd25830e5507f6bc815f5dd7e2eb65f172e878a2b
tree8d85a75f93afaf044a8f52783df70cb2ee8118cf
parentefba01803c8570bab11d0d6188a630231d0ddccf
netlabel: Fix a potential NULL pointer dereference

Fix a potential NULL pointer dereference seen when trying to remove a
static label configuration with an invalid address/mask combination.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlabel/netlabel_unlabeled.c