Page MenuHomeFreeBSD

D7349.diff
No OneTemporary

D7349.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
Fri, Mar 20, 9:35 PM (21 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30043421
Default Alt Text
D7349.diff (415 B)

Event Timeline