From: Hangbin Liu <liuhang...@gmail.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 <natechancel...@gmail.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 <liuhang...@gmail.com>

Applied.

Reply via email to