diff options
| author | Russell King <[email protected]> | 2018-07-10 11:05:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-12 06:11:34 +0000 |
| commit | 576cd32082351620a4e76b8babc4d5ae9b4bbb98 (patch) | |
| tree | c691ff5236756d56e5fc09c8860a2225e2c48920 /net/nsh/nsh.c | |
| parent | sfp: ensure we clean up properly on bus registration failure (diff) | |
| download | kernel-576cd32082351620a4e76b8babc4d5ae9b4bbb98.tar.gz kernel-576cd32082351620a4e76b8babc4d5ae9b4bbb98.zip | |
sfp: fix module initialisation with netdev already up
It was been observed that with a particular order of initialisation,
the netdev can be up, but the SFP module still has its TX_DISABLE
signal asserted. This occurs when the network device brought up before
the SFP kernel module has been inserted by userspace.
This occurs because sfp-bus layer does not hear about the change in
network device state, and so assumes that it is still down. Set
netdev->sfp when the upstream is registered to work around this problem.
Signed-off-by: Russell King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions
