sctp: Correclty set changeover_active for SFR-CACC
commit319fa2a24f652dc35e613360c4532b8d2a771add
authorVlad Yasevich <vladislav.yasevich@hp.com>
Tue, 17 Jun 2008 00:00:29 +0000 (16 17:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 00:00:29 +0000 (16 17:00 -0700)
treecd00c2ef88b083efc11dc1843857e2e9279a3f5f
parent80896a3584bbff9ff9ad4dde735517c4de68d736
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