summaryrefslogtreecommitdiff
path: root/drivers/xen/xenbus
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2011-10-20 04:26:39 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-10-21 06:53:07 (GMT)
commit047af9cfedfa357e1497e327eaa893253ca51971 (patch)
treef4b18244c9daeea9a04b68a0fc050960e5c42507 /drivers/xen/xenbus
parent99f34b38cdc8f75a4b9adb5a617b118253b3efe1 (diff)
downloadlinux-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/xen/xenbus')
0 files changed, 0 insertions, 0 deletions