Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2018 17:14:49 +0530
From:      Harsh Jain <harsh@chelsio.com>
To:        freebsd-net@freebsd.org, tj@enoti.me, tj@enoti.me
Cc:        Navdeep Parhar <navdeep@chelsio.com>, John Baldwin <jhb@freebsd.org>, sonyarpitad@chelsio.com
Subject:   Bug: Newreno; Seems Memory leak in newreno_cb_init
Message-ID:  <58ab6c13-f9c4-b4d7-7f2c-eade3749457f@chelsio.com>

next in thread | raw e-mail | index | archive | help
Hi All,

We have observed memory leak with TCP network traffic in "newreno".

Output of vmstat -m

   in_mfilter     3     3K       -        3  1024
     in_multi     4     1K       -        4  256
  ip_moptions     6     1K       -        6  64,256
encap_export_host     2     2K       -        2  1024
 newreno data 394849273 6169520K       - 394849273  16
    sctp_a_it     0     0K       -        5  16
     sctp_vrf     1     1K       -        1  64
     sctp_ifa     7     1K       -        7  128
     sctp_ifn     4     1K       -        4  128

There is 1 malloc in "newreno_cb_init" whose pointer is not saved in any global structure to free the same.

Is this a BUG?

Regards

Harsh Jain




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58ab6c13-f9c4-b4d7-7f2c-eade3749457f>