diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2006-06-18 09:55:35 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-06-18 09:55:35 +0400 |
commit | 5636bef7324f49e36f05ec8a5f6284e11b1bcca4 (patch) | |
tree | b5e9e42560ba86ffbbd63a582df87844996b6d03 /include/net/sctp | |
parent | 402d68c43326d2f0e7e2e9a9013cd4c098d9b87c (diff) | |
download | linux-5636bef7324f49e36f05ec8a5f6284e11b1bcca4.tar.xz |
[SCTP]: Reject sctp packets with broadcast addresses.
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>
Diffstat (limited to 'include/net/sctp')
-rw-r--r-- | include/net/sctp/structs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 7f4fea173fb1..5f69158c1006 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -555,7 +555,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 *); |