diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-02 05:53:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-02 19:12:06 +0200 |
commit | c07b68e841bd737e2ebeb57268d251c89ccc5010 (patch) | |
tree | b27cb3fa27c36ea65897c15fd0f73fed9c9fcdb7 /drivers/net/bna | |
parent | net: Improve comments in include/linux/phy.h (diff) | |
download | linux-c07b68e841bd737e2ebeb57268d251c89ccc5010.tar.xz linux-c07b68e841bd737e2ebeb57268d251c89ccc5010.zip |
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>
Diffstat (limited to 'drivers/net/bna')
0 files changed, 0 insertions, 0 deletions