patch-2.4.27 linux-2.4.27/net/sctp/transport.c
Next file: linux-2.4.27/net/sctp/tsnmap.c
Previous file: linux-2.4.27/net/sctp/sysctl.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
2004-08-07 16:26:07.111447736 -0700
- Orig file:
linux-2.4.26/net/sctp/transport.c
- Orig date:
2004-04-14 06:05:41.000000000 -0700
diff -urN linux-2.4.26/net/sctp/transport.c linux-2.4.27/net/sctp/transport.c
@@ -118,7 +118,6 @@
INIT_LIST_HEAD(&peer->transmitted);
INIT_LIST_HEAD(&peer->send_ready);
INIT_LIST_HEAD(&peer->transports);
- sctp_packet_init(&peer->packet, peer, 0, 0);
/* Set up the retransmission timer. */
init_timer(&peer->T3_rtx_timer);
@@ -169,6 +168,8 @@
if (transport->asoc)
sctp_association_put(transport->asoc);
+ sctp_packet_free(&transport->packet);
+
dst_release(transport->dst);
kfree(transport);
SCTP_DBG_OBJCNT_DEC(transport);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)