Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151915941
D7349.id18879.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.id18879.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
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)
Attached To
Mode
D7349: xen-netfront: fix trying to send packets with disconnected netfront
Attached
Detach File
Event Timeline
Log In to Comment