From: Moni Shoua Date: Wed, 18 Mar 2015 14:51:35 +0000 (+0200) Subject: IB/mlx4: Verify net device validity on port change event X-Git-Tag: omap-for-v4.2/o2_dc~296^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=217e8b16a43a1780e77607dc019c5f3b26fab48a;p=pandora-kernel.git IB/mlx4: Verify net device validity on port change event Processing an event is done in a different context from the one when the event was dispatched. This requires a check that the slave net device is still valid when the event is being processed. The check is done under the iboe lock which ensure correctness. Fixes: a57500903093 ('IB/mlx4: Add port aggregation support') Signed-off-by: Moni Shoua Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed