]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: fix link priority propagation
authorRichard Alpe <richard.alpe@ericsson.com>
Mon, 1 Feb 2016 07:19:57 +0000 (08:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Feb 2016 07:45:38 +0000 (02:45 -0500)
commitf947dc0ec215c6de90e9c7c12145d14b77635b8e
treec434db2622b6f960a3594b08484336ba99580d72
parent4fb66a615d159280cb5fe1975f39270e4cbb8472
tipc: fix link priority propagation

Currently link priority changes isn't handled for active links. In
this patch we resolve this by changing our priority if the peer passes
a valid priority in a state message.

Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c