commit | c07b68e841bd737e2ebeb57268d251c89ccc5010 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu Sep 02 03:53:46 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 02 10:12:06 2010 -0700 |
tree | b27cb3fa27c36ea65897c15fd0f73fed9c9fcdb7 | |
parent | c68839963426d42bdb2c915b435f9860d060e645 [diff] |
net: dev_add_pack() & __dev_remove_pack() changes Add a small helper ptype_head() to get the head to manipulate dev_add_pack() & __dev_remove_pack() can use a spinlock without blocking BH, since softirq use RCU, and these functions are run from process context only. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>