diff options
author | Amerigo Wang <amwang@redhat.com> | 2012-08-10 05:24:40 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-15 01:33:31 +0400 |
commit | 57c5d46191e75312934c00eba65b13a31ca95120 (patch) | |
tree | 18eb9488b414f0dacdf7be468985a29ceeb1f2e9 /include/linux/rcutiny.h | |
parent | 3335f0ca130c201f8680e97f63612053fbc16e22 (diff) | |
download | linux-57c5d46191e75312934c00eba65b13a31ca95120.tar.xz |
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/linux/rcutiny.h')
0 files changed, 0 insertions, 0 deletions