]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Ensure that ctx->ifc_cpus is always initialized
authorshurd <shurd@FreeBSD.org>
Wed, 29 Nov 2017 18:14:57 +0000 (18:14 +0000)
committershurd <shurd@FreeBSD.org>
Wed, 29 Nov 2017 18:14:57 +0000 (18:14 +0000)
commit0de624aa4719ab43ea5465a4d34fd28d577f915d
treeecfc5058d9366f0972489b9eb510527139d0b681
parent164387096680d25b6279295f0a096134feb68752
Ensure that ctx->ifc_cpus is always initialized

If a device didn't support MSI-X, ctx->ifc_cpus would not be initialized,
but the IRQ allocation routines still uses the value.  Move the
initialization to common code.

Sponsored by: Limelight Networks
sys/net/iflib.c