Skip to content

Commit

Permalink
snap: remove one synchronize_net()
Browse files Browse the repository at this point in the history
No need to wait for a rcu grace period after list insertion.

Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Eric Dumazet authored and davem330 committed May 23, 2011
1 parent 19a76fa commit 418f275
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/802/psnap.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ struct datalink_proto *register_snap_client(const unsigned char *desc,
out:
spin_unlock_bh(&snap_lock);

synchronize_net();
return proto;
}

Expand Down

0 comments on commit 418f275

Please sign in to comment.