summaryrefslogtreecommitdiffstats
path: root/lib/test_bpf.c
diff options
context:
space:
mode:
authorBrad Mouring <brad.mouring@ni.com>2018-03-08 16:23:03 -0600
committerDavid S. Miller <davem@davemloft.net>2018-03-12 10:33:07 -0400
commita2c054a896b8ac794ddcfc7c92e2dc7ec4ed4ed5 (patch)
tree14ae44931e189f9d54045bb1f4b8c8a1ddf72071 /lib/test_bpf.c
parentddc502dfed600bff0b61d899f70d95b76223fdfc (diff)
downloadop-kernel-dev-a2c054a896b8ac794ddcfc7c92e2dc7ec4ed4ed5.zip
op-kernel-dev-a2c054a896b8ac794ddcfc7c92e2dc7ec4ed4ed5.tar.gz
net: phy: Tell caller result of phy_change()
In 664fcf123a30e (net: phy: Threaded interrupts allow some simplification) the phy_interrupt system was changed to use a traditional threaded interrupt scheme instead of a workqueue approach. With this change, the phy status check moved into phy_change, which did not report back to the caller whether or not the interrupt was handled. This means that, in the case of a shared phy interrupt, only the first phydev's interrupt registers are checked (since phy_interrupt() would always return IRQ_HANDLED). This leads to interrupt storms when it is a secondary device that's actually the interrupt source. Signed-off-by: Brad Mouring <brad.mouring@ni.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud