K 10 svn:author V 7 git2svn K 8 svn:date V 27 2021-03-18T17:08:12.342609Z K 7 svn:log V 531 netmap: fix memory leak in NETMAP_REQ_PORT_INFO_GET The netmap_ioctl() function has a reference counting bug in case of NETMAP_REQ_PORT_INFO_GET command. When `hdr->nr_name[0] == '\0'`, the function does not decrease the refcount of "nmd", which is increased by netmap_mem_find(), causing a refcount leak. Reported by: Xiyu Yang Submitted by: Carl Smith MFC after: 3 days PR: 254311 Git Hash: 4019787f50a2826e9a4bba6e70868467b3d6081a Git Author: vmaffione@FreeBSD.org END