mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
snap: remove one synchronize_net()
No need to wait for a rcu grace period after list insertion. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
19a76fa959
commit
418f275ed5
1 changed files with 0 additions and 1 deletions
|
@ -147,7 +147,6 @@ struct datalink_proto *register_snap_client(const unsigned char *desc,
|
||||||
out:
|
out:
|
||||||
spin_unlock_bh(&snap_lock);
|
spin_unlock_bh(&snap_lock);
|
||||||
|
|
||||||
synchronize_net();
|
|
||||||
return proto;
|
return proto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue