]> git.proxmox.com Git - mirror_frr.git/commit
lib: Seperate out Poll data from thread memory statistics
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 23 Aug 2018 01:05:29 +0000 (21:05 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 23 Aug 2018 12:03:31 +0000 (08:03 -0400)
commita6f235f3416c3ecb635420033572d790b7db0ede
tree8854f07695b267a19505bd5f8055024dc35ca64a
parent753e2c9152ec2e089c5e6cdcdaba3e51581636a0
lib: Seperate out Poll data from thread memory statistics

We were storing Poll data for the read and write
memory information in MTYPE_THREAD, so a show run
would not be able to show actual amount of memory
associated with the `struct thread`.

Remove unnecessary NULL checks on malloc.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/thread.c