mirror of
				https://git.proxmox.com/git/mirror_iproute2
				synced 2025-10-31 04:58:17 +00:00 
			
		
		
		
	|  97352f1b33 kill_inet_sock() expects rhn_handle instance is passed
via inet_diag_arg argument. However on the following calling path:
    generic_show_sock
    => show_one_inet_sock
       => kill_inet_sock
rth field of inet_diag_arg is not filled with the address of
rhn_handle instance. As the result ss crashes.
This commit fills the field with newly created rhn_handle
instance.
Changes in v2:
Instead of creating rtn_handle instances for each socket, create
one in upper layer and reuse it.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> | ||
|---|---|---|
| .. | ||
| .gitignore | ||
| arpd.c | ||
| ifstat.c | ||
| lnstat_util.c | ||
| lnstat.c | ||
| lnstat.h | ||
| Makefile | ||
| nstat.c | ||
| rtacct.c | ||
| ss.c | ||
| ssfilter.h | ||
| ssfilter.y | ||