diff options
Diffstat (limited to 'net/sctp/bind_addr.c')
| -rw-r--r-- | net/sctp/bind_addr.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/net/sctp/bind_addr.c b/net/sctp/bind_addr.c index 53bc61537f44..701c5a4e441d 100644 --- a/net/sctp/bind_addr.c +++ b/net/sctp/bind_addr.c @@ -461,6 +461,7 @@ static int sctp_copy_one_addr(struct net *net, struct sctp_bind_addr *dest,  		 * well as the remote peer.  		 */  		if ((((AF_INET == addr->sa.sa_family) && +		      (flags & SCTP_ADDR4_ALLOWED) &&  		      (flags & SCTP_ADDR4_PEERSUPP))) ||  		    (((AF_INET6 == addr->sa.sa_family) &&  		      (flags & SCTP_ADDR6_ALLOWED) && |