tipc: reset bearer if device carrier not ok
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Tue, 25 Sep 2018 19:56:57 +0000 (21:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Sep 2018 03:48:56 +0000 (20:48 -0700)
commit94b6ddce71780575fbbf9d2c36afc8440e61a281
tree30b302300b0ddf583a6b1d0a517bcdca866bb5fb
parent92ef12b32feab8f277b69e9fb89ede2796777f4d
tipc: reset bearer if device carrier not ok

If we detect that under lying carrier detects errors and goes down,
we reset the bearer.

Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c