Re: [PATCH net] sctp: sctp_remaddr_seq_show use the wrong variable to dump transport info

2016-03-01 Thread David Miller
From: Xin Long Date: Sun, 28 Feb 2016 10:33:11 +0800 > Now in sctp_remaddr_seq_show(), we use variable *tsp to get the param *v. > but *tsp is also used to traversal transport_addr_list, which will cover > the previous value, and make sctp_transport_put work on the wrong

[PATCH net] sctp: sctp_remaddr_seq_show use the wrong variable to dump transport info

2016-02-27 Thread Xin Long
Now in sctp_remaddr_seq_show(), we use variable *tsp to get the param *v. but *tsp is also used to traversal transport_addr_list, which will cover the previous value, and make sctp_transport_put work on the wrong transport. So fix it by adding a new variable to get the param *v. Fixes: