diff options
| author | Eric W. Biederman <[email protected]> | 2011-10-20 04:26:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-10-21 06:53:06 +0000 |
| commit | 99f34b38cdc8f75a4b9adb5a617b118253b3efe1 (patch) | |
| tree | 07197b487004886a51a47c8fb4fe94e9e5bdc6a9 /net/ipv4/tcp_input.c | |
| parent | virtio_net: fix truesize underestimation (diff) | |
| download | kernel-99f34b38cdc8f75a4b9adb5a617b118253b3efe1.tar.gz kernel-99f34b38cdc8f75a4b9adb5a617b118253b3efe1.zip | |
macvtap: Close a race between macvtap_open and macvtap_dellink.
There is a small window in macvtap_open between looking up a
networking device and calling macvtap_set_queue in which
macvtap_del_queues called from macvtap_dellink. After
calling macvtap_del_queues it is totally incorrect to
allow macvtap_set_queue to proceed so prevent success by
reporting that all of the available queues are in use.
Signed-off-by: Eric W. Biederman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
