summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2012-08-10 05:24:42 +0400
committerDavid S. Miller <davem@davemloft.net>2012-08-15 01:33:31 +0400
commit2899656b494dcd118123af1126826b115c8ea6f9 (patch)
tree969d2b4362c2237cb38259f909774dc0a00a7e4d /tools
parent91fe4a4b9e490a24f6702dd8afe72d8afab6fcdb (diff)
downloadlinux-2899656b494dcd118123af1126826b115c8ea6f9.tar.xz
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" <davem@davemloft.net> Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions