Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140868639
D17540.id49075.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
422 B
Referenced Files
None
Subscribers
None
D17540.id49075.diff
View Options
Index: sys/netinet/udp_usrreq.c
===================================================================
--- sys/netinet/udp_usrreq.c
+++ sys/netinet/udp_usrreq.c
@@ -551,6 +551,11 @@
INP_RLOCK(inp);
+ if (__predict_false(inp->inp_flags2 & INP_FREED)) {
+ INP_RUNLOCK(inp);
+ continue;
+ }
+
/*
* XXXRW: Because we weren't holding either the inpcb
* or the hash lock when we checked for a match
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 30, 1:36 AM (9 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27372609
Default Alt Text
D17540.id49075.diff (422 B)
Attached To
Mode
D17540: In udp_input() validate inp before use after epoch(9).
Attached
Detach File
Event Timeline
Log In to Comment