Skip to content
Snippets Groups Projects
Commit 48abfe05 authored by David S. Miller's avatar David S. Miller
Browse files

tun: Fix minor race in TUNSETLINK ioctl handling.


Noticed by Alan Cox.

The IFF_UP test is a bit racey, because other entities
outside of this driver's ioctl handler can modify that
state, even though this ioctl handler runs under
lock_kernel().

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8c0469cd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment