diff options
| author | Jiri Pirko <[email protected]> | 2010-05-06 01:33:53 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-05-15 23:48:02 -0700 |
| commit | a14462f1bd4d3962994f518459102000438665aa (patch) | |
| tree | 309eda1cd2698a5224713e43173edbd640f4487f /tools/perf/scripts/python | |
| parent | 10fc51b9953112ade61e33ff2f6f005f005a2361 (diff) | |
net: adjust handle_macvlan to pass port struct to hook
Now there's null check here and also again in the hook. Looking at bridge bits
which are simmilar, port structure is rcu_dereferenced right away in
handle_bridge and passed to hook. Looks nicer.
Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions