diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-09-09 15:33:29 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-10 18:32:28 +0100 |
commit | f794dc2304d83ab998c2eee5bab0549aff5c53a2 (patch) | |
tree | 123418cdb123b6ea9efab1a133e1002b81de2380 /fs/notify/fsnotify.c | |
parent | sch_hhf: ensure quantum and hhf_non_hh_weight are non-zero (diff) | |
download | linux-dev-f794dc2304d83ab998c2eee5bab0549aff5c53a2.tar.xz linux-dev-f794dc2304d83ab998c2eee5bab0549aff5c53a2.zip |
sctp: fix the missing put_user when dumping transport thresholds
This issue causes SCTP_PEER_ADDR_THLDS sockopt not to be able to dump
a transport thresholds info.
Fix it by adding 'goto' put_user in sctp_getsockopt_paddr_thresholds.
Fixes: 8add543e369d ("sctp: add SCTP_FUTURE_ASSOC for SCTP_PEER_ADDR_THLDS sockopt")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/notify/fsnotify.c')
0 files changed, 0 insertions, 0 deletions