From: Amerigo Wang Date: Fri, 10 Aug 2012 01:24:42 +0000 (+0000) Subject: netpoll: take rcu_read_lock_bh() in netpoll_send_skb_on_dev() X-Git-Tag: v3.6-rc3~10^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2899656b494dcd118123af1126826b115c8ea6f9;p=pandora-kernel.git netpoll: take rcu_read_lock_bh() in netpoll_send_skb_on_dev() This patch fixes several problems in the call path of netpoll_send_skb_on_dev(): 1. Disable IRQ's before calling netpoll_send_skb_on_dev(). 2. All the callees of netpoll_send_skb_on_dev() should use rcu_dereference_bh() to dereference ->npinfo. 3. Rename arp_reply() to netpoll_arp_reply(), the former is too generic. Cc: "David S. Miller" Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed