[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 05 Jun 2019 17:55:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: liuhangbin@...il.com
Cc: netdev@...r.kernel.org, natechancellor@...il.com,
gregkh@...uxfoundation.org, zenczykowski@...il.com,
lorenzo@...gle.com, dsa@...ulusnetworks.com, thaller@...hat.com,
yaro330@...il.com
Subject: Re: [PATCH net] Revert "fib_rules: return 0 directly if an exactly
same rule exists when NLM_F_EXCL not supplied"
From: Hangbin Liu <liuhangbin@...il.com>
Date: Wed, 5 Jun 2019 12:27:14 +0800
> This reverts commit e9919a24d3022f72bcadc407e73a6ef17093a849.
>
> Nathan reported the new behaviour breaks Android, as Android just add
> new rules and delete old ones.
>
> If we return 0 without adding dup rules, Android will remove the new
> added rules and causing system to soft-reboot.
>
> Reported-by: Nathan Chancellor <natechancellor@...il.com>
> Fixes: e9919a24d302 ("fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied")
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
Applied.
Powered by blists - more mailing lists