diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-09-19 17:56:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-20 01:04:23 +0200 |
commit | 1943563dfd4b3a1f9dc102f056813112d29bb60f (patch) | |
tree | ed18f62dc3e451b042262b9fa35f7101dd3736aa /crypto/tgr192.c | |
parent | net: dsa: setup master ethtool unconditionally (diff) | |
download | linux-1943563dfd4b3a1f9dc102f056813112d29bb60f.tar.xz linux-1943563dfd4b3a1f9dc102f056813112d29bb60f.zip |
net: dsa: setup master ethtool after dsa_ptr
DSA overrides the master's ethtool ops so that we can inject its CPU
port's statistics. Because of that, we need to setup the ethtool ops
after the master's dsa_ptr pointer has been assigned, not before.
This patch setups the ethtool ops after dsa_ptr is assigned, and
restores them before it gets cleared.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/tgr192.c')
0 files changed, 0 insertions, 0 deletions