aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2011-10-20 04:26:39 +0000
committerDavid S. Miller <[email protected]>2011-10-21 02:53:07 -0400
commit047af9cfedfa357e1497e327eaa893253ca51971 (patch)
treef4b18244c9daeea9a04b68a0fc050960e5c42507 /tools/perf/util/scripting-engines/trace-event-python.c
parent99f34b38cdc8f75a4b9adb5a617b118253b3efe1 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions