aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/of_mdio.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2016-02-28 10:33:11 +0800
committerDavid S. Miller <davem@davemloft.net>2016-03-01 17:35:44 -0500
commit3d73e8fac8f84942f15307d6d9cb1dba843d3fb2 (patch)
tree3daec4bf3762a03bff5e719708544d288db36942 /drivers/of/of_mdio.c
parentsctp: lack the check for ports in sctp_v6_cmp_addr (diff)
downloadlinux-dev-3d73e8fac8f84942f15307d6d9cb1dba843d3fb2.tar.xz
linux-dev-3d73e8fac8f84942f15307d6d9cb1dba843d3fb2.zip
sctp: sctp_remaddr_seq_show use the wrong variable to dump transport info
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: fba4c330c5b9 ("sctp: hold transport before we access t->asoc in sctp proc") Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of/of_mdio.c')
0 files changed, 0 insertions, 0 deletions