aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/sctp/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index 67861a8f00cb..1e788279bb22 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -4170,7 +4170,7 @@ static int sctp_copy_laddrs(struct sock *sk, __u16 port, void *to,
4170 to += addrlen; 4170 to += addrlen;
4171 cnt ++; 4171 cnt ++;
4172 space_left -= addrlen; 4172 space_left -= addrlen;
4173 bytes_copied += addrlen; 4173 *bytes_copied += addrlen;
4174 } 4174 }
4175 4175
4176 return cnt; 4176 return cnt;