]> git.baikalelectronics.ru Git - kernel.git/commit
net: link_watch: mark bonding link events urgent
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Mon, 22 Jan 2018 16:07:19 +0000 (08:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jan 2018 00:43:30 +0000 (19:43 -0500)
commita01ba4871640e17ebce12482c7ffcd52317ef5f2
treedfea020e9a167e3617c421e17cacd7bdfefdf3d5
parent55e6d7e3849e7229f5d6ab8ce3b48e144d71dd16
net: link_watch: mark bonding link events urgent

It takes 1sec for bond link down notification to hit user-space
when all slaves of the bond go down. 1sec is too long for
protocol daemons in user-space relying on bond notification
to recover (eg: multichassis lag implementations in user-space).
Since the link event code already marks team device port link events
 as urgent, this patch moves the code to cover all lag ports and master.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/link_watch.c