Page MenuHomeFreeBSD

D7349.id18879.diff
No OneTemporary

D7349.id18879.diff

Index: head/sys/dev/xen/netfront/netfront.c
===================================================================
--- head/sys/dev/xen/netfront/netfront.c
+++ head/sys/dev/xen/netfront/netfront.c
@@ -2157,6 +2157,9 @@
np = ifp->if_softc;
npairs = np->num_queues;
+ if (!netfront_carrier_ok(np))
+ return (ENOBUFS);
+
KASSERT(npairs != 0, ("called with 0 available queues"));
/* check if flowid is set */

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 12, 12:35 PM (20 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31320525
Default Alt Text
D7349.id18879.diff (415 B)

Event Timeline