[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110921.151701.1605320247440880043.davem@davemloft.net>
Date: Wed, 21 Sep 2011 15:17:01 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: wanlong.gao@...il.com
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
omarapazanadi@...il.com, gaofeng@...fujitsu.com,
eric.dumazet@...il.com
Subject: Re: [PATCH resend] fib:fix BUG_ON in fib_nl_newrule when add new
fib rule
From: Wanlong Gao <wanlong.gao@...il.com>
Date: Mon, 12 Sep 2011 09:36:05 +0800
> From: Gao feng <gaofeng@...fujitsu.com>
>
> 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@...fujitsu.com>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks a lot.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists