Commit 418f275e authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

snap: remove one synchronize_net()

No need to wait for a rcu grace period after list insertion.
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 19a76fa9
......@@ -147,7 +147,6 @@ struct datalink_proto *register_snap_client(const unsigned char *desc,
out:
spin_unlock_bh(&snap_lock);
synchronize_net();
return proto;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment