From: Eric Dumazet Date: Thu, 2 Sep 2010 03:53:46 +0000 (+0000) Subject: net: dev_add_pack() & __dev_remove_pack() changes X-Git-Tag: v2.6.37-rc1~147^2~587 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c07b68e841bd737e2ebeb57268d251c89ccc5010;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed