diff options
author | sjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com> | 2011-06-01 00:55:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-01 21:13:53 -0700 |
commit | 41be5a4a3668810bf3687a76c2b017bd437039e0 (patch) | |
tree | dcdfd3de6ee34d6467f26208ae431f9207769088 /net/packet | |
parent | 85e3c65fa3a1d0542c181510a950a2be7733ff29 (diff) | |
download | linux-41be5a4a3668810bf3687a76c2b017bd437039e0.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions