: Use BUG_ON instead of if + BUG in fib6_del_route.
Subsystems (3)
PATCH 1/1 : Use BUG_ON instead of if + BUG in fib6_del_route.
Signed-off-by Pavel Emelyanov <[email protected]>
---
net/ipv6/ip6_fib.c +1 -1
@@ -1151,7 +1151,7 @@ static void fib6_del_route(struct fib6_node *fn, struct rt6_info **rtp, fn = fn->parent; }/* No more references are possible at this point. */ -if (atomic_read (&rt->rt6i_ref) !=1 )BUG (); +BUG_ON (atomic_read (&rt->rt6i_ref) !=1 ); }inet6_rt_notify (RTM_DELROUTE , rt, info);
From: Pavel Emelyanov <[email protected]>
Date: Mon, 18 Feb 2008 15:50:11 +0300
Quoted 1 line
Signed-off-by Pavel Emelyanov <[email protected]>
Applied, thanks Pavel.