svn commit: r211139 - stable/8/sys/net
Konstantin Belousov
kib at FreeBSD.org
Tue Aug 10 10:17:01 UTC 2010
Author: kib
Date: Tue Aug 10 10:17:01 2010
New Revision: 211139
URL: http://svn.freebsd.org/changeset/base/211139
Log:
MFC r210805:
Properly set ifi_datalen for compat32 struct if_data32.
PR: kern/149240
Modified:
stable/8/sys/net/rtsock.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cam/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/net/rtsock.c
==============================================================================
--- stable/8/sys/net/rtsock.c Tue Aug 10 10:15:34 2010 (r211138)
+++ stable/8/sys/net/rtsock.c Tue Aug 10 10:17:01 2010 (r211139)
@@ -1439,7 +1439,7 @@ copy_ifdata32(struct if_data *src, struc
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);
More information about the svn-src-all
mailing list