]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: Correclty set changeover_active for SFR-CACC
authorVlad Yasevich <vladislav.yasevich@hp.com>
Tue, 17 Jun 2008 00:00:29 +0000 (17:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 00:00:29 +0000 (17:00 -0700)
commit127fd4c0baba852bc965b1f7a14a97c0d2c27a75
treecd00c2ef88b083efc11dc1843857e2e9279a3f5f
parent89d887a58571366c32e7a7de5d2b6b80d38051fd
sctp: Correclty set changeover_active for SFR-CACC

Right now, any time we set a primary transport we set
the changeover_active flag.  As a result, we invoke SFR-CACC
even when there has been no changeover events.

Only set changeover_active, when there is a true changeover
event, i.e. we had a primary path and we are changing to
another transport.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/associola.c