Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157559532
D10942.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
470 B
Referenced Files
None
Subscribers
None
D10942.id.diff
View Options
Index: head/sys/netinet6/ip6_output.c
===================================================================
--- head/sys/netinet6/ip6_output.c
+++ head/sys/netinet6/ip6_output.c
@@ -2465,7 +2465,7 @@
if (src->type) {\
int hlen = (((struct ip6_ext *)src->type)->ip6e_len + 1) << 3;\
dst->type = malloc(hlen, M_IP6OPT, canwait);\
- if (dst->type == NULL && canwait == M_NOWAIT)\
+ if (dst->type == NULL)\
goto bad;\
bcopy(src->type, dst->type, hlen);\
}\
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 23, 8:08 PM (13 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33453298
Default Alt Text
D10942.id.diff (470 B)
Attached To
Mode
D10942: Static analysis: Remove unnecessary check in IPv6 PKTOPT_EXTHDRCPY() macro
Attached
Detach File
Event Timeline
Log In to Comment