From: Amerigo Wang Date: Fri, 10 Aug 2012 01:24:40 +0000 (+0000) Subject: netpoll: take rcu_read_lock_bh() in netpoll_rx() X-Git-Tag: v3.6-rc3~10^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57c5d46191e75312934c00eba65b13a31ca95120;p=pandora-kernel.git netpoll: take rcu_read_lock_bh() in netpoll_rx() In __netpoll_rx(), it dereferences ->npinfo without rcu_dereference_bh(), this patch fixes it by using the 'npinfo' passed from netpoll_rx() where it is already dereferenced with rcu_dereference_bh(). Cc: "David S. Miller" Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed