aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r--net/sctp/protocol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index 1099e99a53c4..d3d50daa248b 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -216,6 +216,7 @@ int sctp_copy_local_addr_list(struct net *net, struct sctp_bind_addr *bp,
216 (copy_flags & SCTP_ADDR6_ALLOWED) && 216 (copy_flags & SCTP_ADDR6_ALLOWED) &&
217 (copy_flags & SCTP_ADDR6_PEERSUPP)))) { 217 (copy_flags & SCTP_ADDR6_PEERSUPP)))) {
218 error = sctp_add_bind_addr(bp, &addr->a, 218 error = sctp_add_bind_addr(bp, &addr->a,
219 sizeof(addr->a),
219 SCTP_ADDR_SRC, GFP_ATOMIC); 220 SCTP_ADDR_SRC, GFP_ATOMIC);
220 if (error) 221 if (error)
221 goto end_copy; 222 goto end_copy;