diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-05-05 21:33:20 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-05-05 21:33:20 +0000 |
| commit | 6c42c8a93f2ce9176c3b4669f2112b2bddb73a23 (patch) | |
| tree | 2cedc68140e34246f0b3bc226d0b65a170c9e619 /sys/netinet | |
| parent | 90fdc1c6c2aef4ef7267007540d662a19a9b26b5 (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/tcp_reass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index b0366b20ea2c..c8bd4b1a1b3c 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -144,7 +144,6 @@ tcp_reass(struct tcpcb *tp, struct tcphdr *th, int *tlenp, struct mbuf *m) V_tcp_reass_overflows++; TCPSTAT_INC(tcps_rcvmemdrop); - m_freem(m); *tlenp = 0; if ((s = tcp_log_addrs(&tp->t_inpcb->inp_inc, th, NULL, NULL))) { @@ -152,6 +151,7 @@ tcp_reass(struct tcpcb *tp, struct tcphdr *th, int *tlenp, struct mbuf *m) "segment dropped\n", s, __func__); free(s, M_TCPLOG); } + m_freem(m); return (0); } |
