summaryrefslogtreecommitdiffstats
path: root/crypto/tgr192.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-09-19 17:56:59 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-20 01:04:23 +0200
commit1943563dfd4b3a1f9dc102f056813112d29bb60f (patch)
treeed18f62dc3e451b042262b9fa35f7101dd3736aa /crypto/tgr192.c
parentnet: dsa: setup master ethtool unconditionally (diff)
downloadlinux-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