diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2011-10-20 04:26:39 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-21 06:53:07 (GMT) |
commit | 047af9cfedfa357e1497e327eaa893253ca51971 (patch) | |
tree | f4b18244c9daeea9a04b68a0fc050960e5c42507 /drivers/acpi/event.c | |
parent | 99f34b38cdc8f75a4b9adb5a617b118253b3efe1 (diff) | |
download | linux-fsl-qoriq-047af9cfedfa357e1497e327eaa893253ca51971.tar.xz |
macvtap: Fix macvtap_open races in the zero copy enable code.
To see if it is appropriate to enable the macvtap zero copy feature
don't test the lowerdev network device flags. Instead test the
macvtap network device flags which are a direct copy of the lowerdev
flags. This is important because nothing holds a reference to lowerdev
and on a very bad day we lowerdev could be a pointer to stale memory.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/acpi/event.c')
0 files changed, 0 insertions, 0 deletions