]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: do asoc update earlier in sctp_sf_do_dupcook_b
authorXin Long <lucien.xin@gmail.com>
Fri, 30 Apr 2021 20:03:00 +0000 (04:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Apr 2021 22:06:34 +0000 (15:06 -0700)
commit6ecdaf419b419ff3c31f6f71659eb3d705d294ae
tree5f5a2a3eeae31dce1af489113c3e1792fa834ee6
parent9893b03ecfa830a1852372d80609381ffef5bfe6
sctp: do asoc update earlier in sctp_sf_do_dupcook_b

The same thing should be done for sctp_sf_do_dupcook_b().
Meanwhile, SCTP_CMD_UPDATE_ASSOC cmd can be removed.

v1->v2:
  - Fix the return value in sctp_sf_do_assoc_update().

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/command.h
net/sctp/sm_sideeffect.c
net/sctp/sm_statefuns.c