mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| test | ||
| Kconfig | ||
| Makefile | ||
| af_mctp.c | ||
| device.c | ||
| neigh.c | ||
| route.c | ||