Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "fib_rules: return 0 directly if an exactly same rule exists w…
…hen NLM_F_EXCL not supplied" This reverts commit e9919a2. 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. Fixes: e9919a2 ("fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied") Reported-by: Nathan Chancellor <[email protected]> Reported-by: Yaro Slav <[email protected]> Reported-by: Maciej Żenczykowski <[email protected]> Signed-off-by: Hangbin Liu <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information