aboutsummaryrefslogtreecommitdiff
path: root/include/linux/uts.h
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2014-10-10 10:51:53 -0700
committerDavid S. Miller <[email protected]>2014-10-10 15:39:15 -0400
commit083731a8fbe71d83fc908adf137dc98ee352f280 (patch)
treeafe0ffa0590c5d05b84879387375d2e34b0c3fdb /include/linux/uts.h
parentcf377d886f7944a5ccdbd164b89949e13617b096 (diff)
net: bcmgenet: avoid unbalanced enable_irq_wake calls
Multiple enable_irq_wake() calls will keep increasing the IRQ wake_depth, which ultimately leads to the following types of situation: 1) enable Wake-on-LAN interrupt w/o password 2) enable Wake-on-LAN interrupt w/ password 3) enable Wake-on-LAN interrupt w/o password 4) disable Wake-on-LAN interrupt After step 4), GENET would always wake-up the system no matter what wake-up device we use, which is not what we want. Fix this by making sure there are no unbalanced enable_irq_wake() calls. Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/uts.h')
0 files changed, 0 insertions, 0 deletions