summaryrefslogtreecommitdiff
path: root/crypto/cast_common.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@codeconstruct.com.au>2022-04-01 10:48:44 +0800
committerDavid S. Miller <davem@davemloft.net>2022-04-01 12:04:15 +0100
commit4a9dda1c1da65beee994f0977a56a9a21c5db2a7 (patch)
treed83d15ecd2c40edc981b748a909ac3486e155c6e /crypto/cast_common.c
parent8ce40a2fd350769e94877b53d353a3b11d85f43b (diff)
mctp: Use output netdev to allocate skb headroom
Previously the skb was allocated with headroom MCTP_HEADER_MAXLEN, but that isn't sufficient if we are using devs that are not MCTP specific. This also adds a check that the smctp_halen provided to sendmsg for extended addressing is the correct size for the netdev. Fixes: 833ef3b91de6 ("mctp: Populate socket implementation") Reported-by: Matthew Rinaldi <mjrinal@g.clemson.edu> Signed-off-by: Matt Johnston <matt@codeconstruct.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/cast_common.c')
0 files changed, 0 insertions, 0 deletions