]> git.baikalelectronics.ru Git - kernel.git/commit
rocker: use change upper info
authorJiri Pirko <jiri@mellanox.com>
Thu, 27 Aug 2015 07:31:23 +0000 (09:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2015 23:28:35 +0000 (16:28 -0700)
commit00f23b4d7758ae8bce7cec180bb97033c733bb87
tree82a77077f8e86636c91bae0c401ba97ae4415737
parentf1c98396c4ae452a102c3c7ec3d918788c989d75
rocker: use change upper info

Since now information about changed upper is passed along, benefit from
that and use this info directly.

This also fixes possible issues that could happen when non-master device
is added (current code does not distinguish between master and non-master
upper device).

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Scott Feldman <sfeldma@gmail.com
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c