summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/pgtable.h
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2012-08-10 03:24:40 +0200
committerDavid S. Miller <davem@davemloft.net>2012-08-14 23:33:31 +0200
commit57c5d46191e75312934c00eba65b13a31ca95120 (patch)
tree18eb9488b414f0dacdf7be468985a29ceeb1f2e9 /include/asm-generic/pgtable.h
parentnetconsole: do not release spin_lock when calling __netpoll_cleanup (diff)
downloadlinux-57c5d46191e75312934c00eba65b13a31ca95120.tar.xz
linux-57c5d46191e75312934c00eba65b13a31ca95120.zip
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" <davem@davemloft.net> Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-generic/pgtable.h')
0 files changed, 0 insertions, 0 deletions