Re: [PATCH - BUGFIX] Smack: Check for 'struct socket' with NULL sk

From: Andrew Morton
Date: Wed Feb 13 2008 - 03:11:41 EST


On Tue, 12 Feb 2008 01:23:47 +0200 "Ahmed S. Darwish" <darwish.07@xxxxxxxxx> wrote:

> + BUG_ON(sk == NULL);
> + ssp = sk->sk_security;

I'll remove the BUG_ON - the oops on the next line will provide us with just the
same information.

Thanks for the fix.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/