summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorGrygorii Strashko2016-04-19 20:09:49 +0200
committerDavid S. Miller2016-04-21 20:30:39 +0200
commit3fa88c51c73a67e7eeda1fcafd809f9185790b31 (patch)
treeb194e1c8644ce195912937929ef6d0d4d9d547fa /net/ipv4/tcp_output.c
parenttcp: Fix SOF_TIMESTAMPING_TX_ACK when handling dup acks (diff)
downloadkernel-qcow2-linux-3fa88c51c73a67e7eeda1fcafd809f9185790b31.tar.gz
kernel-qcow2-linux-3fa88c51c73a67e7eeda1fcafd809f9185790b31.tar.xz
kernel-qcow2-linux-3fa88c51c73a67e7eeda1fcafd809f9185790b31.zip
drivers: net: cpsw: fix wrong regs access in cpsw_ndo_open
The cpsw_ndo_open() could try to access CPSW registers before calling pm_runtime_get_sync(). This will trigger L3 error: WARNING: CPU: 0 PID: 21 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x220/0x34c() 44000000.ocp:L3 Custom Error: MASTER M2 (64-bit) TARGET L4_FAST (Idle): Data Access in Supervisor mode during Functional access and CPSW will stop functioning. Hence, fix it by moving pm_runtime_get_sync() before the first access to CPSW registers in cpsw_ndo_open(). Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions