summaryrefslogtreecommitdiffstats
path: root/net/packet/af_packet.c
diff options
context:
space:
mode:
authorsjur.brandeland@stericsson.com2011-06-01 02:55:37 +0200
committerDavid S. Miller2011-06-02 06:13:53 +0200
commit41be5a4a3668810bf3687a76c2b017bd437039e0 (patch)
treedcdfd3de6ee34d6467f26208ae431f9207769088 /net/packet/af_packet.c
parentusbnet/cdc_ncm: add missing .reset_resume hook (diff)
downloadkernel-qcow2-linux-41be5a4a3668810bf3687a76c2b017bd437039e0.tar.gz
kernel-qcow2-linux-41be5a4a3668810bf3687a76c2b017bd437039e0.tar.xz
kernel-qcow2-linux-41be5a4a3668810bf3687a76c2b017bd437039e0.zip
caif: Fix race when conditionally taking rtnl lock
Take the RTNL lock unconditionally when calling dev_close. Taking the lock conditionally may cause race conditions. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet/af_packet.c')
0 files changed, 0 insertions, 0 deletions