]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit686ed3047e8727fe3c7eb5a3c63a5e9b1556bbbb
tree82a77077f8e86636c91bae0c401ba97ae4415737
parentfb4bf214346e37778bcf00a89bfb90112859b23c
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