Re: [PATCH v2] ss: prepare rth when killing inet sock

2018-02-23 Thread Stephen Hemminger
On Fri, 16 Feb 2018 04:11:20 +0900 Masatake YAMATO wrote: > 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_a

[PATCH v2] ss: prepare rth when killing inet sock

2018-02-15 Thread Masatake YAMATO
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 cra