diff options
| author | David S. Miller <davem@davemloft.net> | 2021-06-29 01:34:50 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-06-29 01:34:50 +0300 |
| commit | f9beb95e6a2669fa35e34a6ff52808b181efa20f (patch) | |
| tree | b08b00cc08cbff3c1b2e55979fc72f7e31dfa6f1 /include | |
| parent | 9ea3e52c5bc8bb4a084938dc1e3160643438927a (diff) | |
| parent | ef6c8d6ccf0c1dccdda092ebe8782777cd7803c9 (diff) | |
| download | linux-f9beb95e6a2669fa35e34a6ff52808b181efa20f.tar.xz | |
Merge branch 'sctp-size-validations'
Marcelo Ricardo Leitner says:
====================
sctp: add some size validations
Ilja Van Sprundel reported that some size validations on inbound
SCTP packets were missing. After some code review, I noticed two
others that are all fixed here.
Thanks Ilja for reporting this.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/sctp/structs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 1aa585216f34..d49593c72a55 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -461,7 +461,7 @@ struct sctp_af { int saddr); void (*from_sk) (union sctp_addr *, struct sock *sk); - void (*from_addr_param) (union sctp_addr *, + bool (*from_addr_param) (union sctp_addr *, union sctp_addr_param *, __be16 port, int iif); int (*to_addr_param) (const union sctp_addr *, |
