Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -147,7 +147,6 @@ struct datalink_proto *register_snap_client(const unsigned char *desc,
out:
	spin_unlock_bh(&snap_lock);

	synchronize_net();
	return proto;
}