From: Gao feng Date: Sun, 11 Sep 2011 15:36:05 +0000 (+0000) Subject: fib:fix BUG_ON in fib_nl_newrule when add new fib rule X-Git-Tag: v3.1-rc7~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=561dac2d410ffac0b57a23b85ae0a623c1a076ca;p=pandora-kernel.git fib:fix BUG_ON in fib_nl_newrule when add new fib rule add new fib rule can cause BUG_ON happen the reproduce shell is ip rule add pref 38 ip rule add pref 38 ip rule add to 192.168.3.0/24 goto 38 ip rule del pref 38 ip rule add to 192.168.3.0/24 goto 38 ip rule add pref 38 then the BUG_ON will happen del BUG_ON and use (ctarget == NULL) identify whether this rule is unresolved Signed-off-by: Gao feng Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed