]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r285531
authorbrueffer <brueffer@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Jul 2015 14:25:21 +0000 (14:25 +0000)
committerbrueffer <brueffer@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Jul 2015 14:25:21 +0000 (14:25 +0000)
commit449dad7b266b27cbcadf1c93c95f55c34048fc88
tree4dfd1630e9799c5877fe0c3abb0f9e682a006869
parent2848f1076ff04ca80b3bf064d6ca09af93e6c540
MFC: r285531

Unbreak ggatec and ggatel on i386 after r238119, which added two more
'struct g_gate_ctl_create' fields.

While the behaviour was technically undefined on other architectures
as well, on the reporter's amd64 systems the uninitialized bytes the
kernel cares about were always zero so everything worked as expected.

PR: 197309, 199559
Submitted by: ota@j.email.ne.jp, Fabian Keil
Reviewed by: pjd
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285748 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/ggate/ggatec/ggatec.c
sbin/ggate/ggatel/ggatel.c