Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144431339
D13417.id54425.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
580 B
Referenced Files
None
Subscribers
None
D13417.id54425.diff
View Options
Index: head/sys/net/route.c
===================================================================
--- head/sys/net/route.c
+++ head/sys/net/route.c
@@ -1781,8 +1781,9 @@
/* Check if outgoing interface has changed */
if (info->rti_ifa != NULL && info->rti_ifa != rt->rt_ifa &&
- rt->rt_ifa != NULL && rt->rt_ifa->ifa_rtrequest != NULL) {
- rt->rt_ifa->ifa_rtrequest(RTM_DELETE, rt, info);
+ rt->rt_ifa != NULL) {
+ if (rt->rt_ifa->ifa_rtrequest != NULL)
+ rt->rt_ifa->ifa_rtrequest(RTM_DELETE, rt, info);
ifa_free(rt->rt_ifa);
}
/* Update gateway address */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 10:08 AM (2 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28473938
Default Alt Text
D13417.id54425.diff (580 B)
Attached To
Mode
D13417: Plug an ifaddr leak when changing a route's src
Attached
Detach File
Event Timeline
Log In to Comment