diff options
| author | Andrew Lunn <[email protected]> | 2019-09-25 00:47:07 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-09-27 08:30:58 +0000 |
| commit | 2b6fd3ea438c742d162a40a124b0181922633163 (patch) | |
| tree | 3e21a08a6caf0eae3bcc36cf8a8d91126ea0445b /net/ipv6/tcp_ipv6.c | |
| parent | sch_netem: fix rcu splat in netem_enqueue() (diff) | |
| download | kernel-2b6fd3ea438c742d162a40a124b0181922633163.tar.gz kernel-2b6fd3ea438c742d162a40a124b0181922633163.zip | |
net: dsa: qca8k: Fix port enable for CPU port
The CPU port does not have a PHY connected to it. So calling
phy_support_asym_pause() results in an Opps. As with other DSA
drivers, add a guard that the port is a user port.
Reported-by: Michal Vokáč <[email protected]>
Fixes: 0394a63acfe2 ("net: dsa: enable and disable all ports")
Signed-off-by: Andrew Lunn <[email protected]>
Tested-by: Michal Vokáč <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
