]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Unbreak ggatec and ggatel on i386 after r238119, which added two more
authorbrueffer <brueffer@FreeBSD.org>
Tue, 14 Jul 2015 10:49:36 +0000 (10:49 +0000)
committerbrueffer <brueffer@FreeBSD.org>
Tue, 14 Jul 2015 10:49:36 +0000 (10:49 +0000)
commit5026cf8dae6b0bd58684c51641c5f9324bcd48f6
treec21df2fe2cc0e5d27bbbec81724458bab6709ec4
parentd9ba778236d405be729406c571edc06bc11d8f09
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
MFC after: 1 week
sbin/ggate/ggatec/ggatec.c
sbin/ggate/ggatel/ggatel.c