diff options
| author | Sabrina Dubroca <[email protected]> | 2015-03-10 20:03:54 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-11 20:46:26 +0000 |
| commit | 6dede75b7e8ed4af31c3b06aec84401a5db88be9 (patch) | |
| tree | 3aa394c164823beea07464d6d7181457d6d739f4 /net/switchdev/switchdev.c | |
| parent | mpls: Allow mpls_gso and mpls_router to be built as modules (diff) | |
| download | kernel-6dede75b7e8ed4af31c3b06aec84401a5db88be9.tar.gz kernel-6dede75b7e8ed4af31c3b06aec84401a5db88be9.zip | |
fib_trie: call fib_table_flush_external under RTNL
Move rtnl_lock() before the call to fib4_rules_exit so that
fib_table_flush_external is called under RTNL.
Fixes: 104616e74e0b ("switchdev: don't support custom ip rules, for now")
Signed-off-by: Sabrina Dubroca <[email protected]>
Acked-by: Alexander Duyck <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
