diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-05-06 03:33:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-16 08:48:02 +0200 |
commit | a14462f1bd4d3962994f518459102000438665aa (patch) | |
tree | 309eda1cd2698a5224713e43173edbd640f4487f /net/xfrm/xfrm_policy.c | |
parent | skge: use the DMA state API instead of the pci equivalents (diff) | |
download | linux-a14462f1bd4d3962994f518459102000438665aa.tar.xz linux-a14462f1bd4d3962994f518459102000438665aa.zip |
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 <jpirko@redhat.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
0 files changed, 0 insertions, 0 deletions