diff options
-rw-r--r-- | net/sctp/sm_sideeffect.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c index 666c66842799..1a6eef39ab2f 100644 --- a/net/sctp/sm_sideeffect.c +++ b/net/sctp/sm_sideeffect.c | |||
@@ -860,7 +860,6 @@ static void sctp_cmd_delete_tcb(sctp_cmd_seq_t *cmds, | |||
860 | (!asoc->temp) && (sk->sk_shutdown != SHUTDOWN_MASK)) | 860 | (!asoc->temp) && (sk->sk_shutdown != SHUTDOWN_MASK)) |
861 | return; | 861 | return; |
862 | 862 | ||
863 | BUG_ON(asoc->peer.primary_path == NULL); | ||
864 | sctp_unhash_established(asoc); | 863 | sctp_unhash_established(asoc); |
865 | sctp_association_free(asoc); | 864 | sctp_association_free(asoc); |
866 | } | 865 | } |