From cf7260ee89f7b187304a35b188cc0c889f7bdd24 Mon Sep 17 00:00:00 2001 From: Vlad Yasevich Date: Sat, 26 Aug 2006 02:39:03 +0200 Subject: SCTP: Reject sctp packets with broadcast addresses. Make SCTP handle broadcast properly Signed-off-by: Vlad Yasevich Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk --- include/net/sctp/structs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index acb2ce16e6d5..bcd03e711f0d 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -545,7 +545,8 @@ struct sctp_af { int (*to_addr_param) (const union sctp_addr *, union sctp_addr_param *); int (*addr_valid) (union sctp_addr *, - struct sctp_sock *); + struct sctp_sock *, + const struct sk_buff *); sctp_scope_t (*scope) (union sctp_addr *); void (*inaddr_any) (union sctp_addr *, unsigned short); int (*is_any) (const union sctp_addr *); -- cgit v1.2.3