Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148727553
D7349.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
415 B
Referenced Files
None
Subscribers
None
D7349.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D7349: xen-netfront: fix trying to send packets with disconnected netfront
Attached
Detach File
Event Timeline
Log In to Comment