Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Eric Dumazet and committed by
David S. Miller
418f275e 19a76fa9

-1
-1
net/802/psnap.c
··· 147 147 out: 148 148 spin_unlock_bh(&snap_lock); 149 149 150 - synchronize_net(); 151 150 return proto; 152 151 } 153 152