From: Jiri Pirko Date: Thu, 6 May 2010 01:33:53 +0000 (+0000) Subject: net: adjust handle_macvlan to pass port struct to hook X-Git-Tag: v2.6.35-rc1~473^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a14462f1bd4d3962994f518459102000438665aa;p=pandora-kernel.git 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 Acked-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed