kernel - Clean up memory leaks and a stack buffer disclosure bugv5.6.3
commitf4b19105e35a077d1284614e233ea957bcc76125
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 7 Feb 2020 07:43:31 +0000 (6 23:43 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 7 Feb 2020 07:47:04 +0000 (6 23:47 -0800)
treeec3ec393f85db6ca732c6c7b00ffe599c00c3e51
parentfd17ab246da5e83c006c3dcc23bee06babb9b6e2
kernel - Clean up memory leaks and a stack buffer disclosure bug

* Clean up memory leaks, a stack buffer disclosure bug, and a
  missing priv check in if_oce (which probably never attaches these
  days).  All in the network subsystem.

Reported-by: Ilja van Sprundel
sys/dev/netif/oce/oce_if.c
sys/dev/netif/oce/oce_if.h
sys/net/if.c
sys/net/if_clone.c