diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2006-08-26 02:39:03 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-08-26 02:39:03 +0200 |
commit | cf7260ee89f7b187304a35b188cc0c889f7bdd24 (patch) | |
tree | 0f3ea8a6066272ae3c4546f353fbffa2cc5ddd4e /net/sctp/socket.c | |
parent | c92faf3e0a557270141be67f206d7cdb99bfc3a2 (diff) |
SCTP: Reject sctp packets with broadcast addresses.
Make SCTP handle broadcast properly
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r-- | net/sctp/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index 0f0ef2d8743..42a22355e02 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c @@ -172,7 +172,7 @@ static inline int sctp_verify_addr(struct sock *sk, union sctp_addr *addr, return -EINVAL; /* Is this a valid SCTP address? */ - if (!af->addr_valid(addr, sctp_sk(sk))) + if (!af->addr_valid(addr, sctp_sk(sk), NULL)) return -EINVAL; if (!sctp_sk(sk)->pf->send_verify(sctp_sk(sk), (addr))) |