Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102681100
D19898.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
444 B
Referenced Files
None
Subscribers
None
D19898.diff
View Options
Index: head/sys/net/rtsock.c
===================================================================
--- head/sys/net/rtsock.c
+++ head/sys/net/rtsock.c
@@ -618,6 +618,8 @@
if (rt_xaddrs((caddr_t)(rtm + 1), len + (caddr_t)rtm, &info))
senderr(EINVAL);
+ if (rtm->rtm_flags & RTF_RNH_LOCKED)
+ senderr(EINVAL);
info.rti_flags = rtm->rtm_flags;
if (info.rti_info[RTAX_DST] == NULL ||
info.rti_info[RTAX_DST]->sa_family >= AF_MAX ||
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 7:08 PM (7 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14663253
Default Alt Text
D19898.diff (444 B)
Attached To
Mode
D19898: Don't allow the user to set RTF_RNH_LOCKED
Attached
Detach File
Event Timeline
Log In to Comment