kernel - Fix kmalloc pool accounting for M_NETCRED
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 3 Jan 2017 01:40:50 +0000 (17:40 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 3 Jan 2017 01:40:50 +0000 (17:40 -0800)
commit36ef29efdd487ca6355f5c93fd063612045d39e7
treeb2c10cebd805ebd181772b8f314ccb671af0fcb4
parent38b5d46cbbb58bd340296ebede89d5f6b4838f4f
kernel - Fix kmalloc pool accounting for M_NETCRED

* Some kfree()'s for M_NETCRED should really have been for M_RTABLE.  Fixes
  an accounting error that shows up in 'vmstat -m'.

* Rename the kmalloc pool in  netinet/ip_encap.c to M_IPENCAP.  It was
  previously named M_NETCRED and duplicated another pool's name.
sys/kern/vfs_subr.c
sys/netinet/ip_encap.c