diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2011-09-11 15:36:05 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-03 11:40:51 -0700 |
commit | cbab190c501c8034b82e0dd9da7fdb4b75e08daa (patch) | |
tree | 906c1a75f88c366d3e85ab20caf6b4bb2acc238c /crypto/sha256_generic.c | |
parent | 5ee858c9ab53a4f6b12a095a4982793d4f417f56 (diff) |
fib:fix BUG_ON in fib_nl_newrule when add new fib rule
[ Upstream commit 561dac2d410ffac0b57a23b85ae0a623c1a076ca ]
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 <gaofeng@cn.fujitsu.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions