Properly set ifi_datalen for compat32 struct if_data32.
PR: kern/149240 Submitted by: Stef Walter <stef memberwebs com> MFC after: 1 weeks
This commit is contained in:
parent
c530d20c6a
commit
c5df0ad3b8
@ -1439,7 +1439,7 @@ copy_ifdata32(struct if_data *src, struct if_data32 *dst)
|
||||
CP(*src, *dst, ifi_addrlen);
|
||||
CP(*src, *dst, ifi_hdrlen);
|
||||
CP(*src, *dst, ifi_link_state);
|
||||
CP(*src, *dst, ifi_datalen);
|
||||
dst->ifi_datalen = sizeof(struct if_data32);
|
||||
CP(*src, *dst, ifi_mtu);
|
||||
CP(*src, *dst, ifi_metric);
|
||||
CP(*src, *dst, ifi_baudrate);
|
||||
|
Loading…
Reference in New Issue
Block a user