Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102986085
D32608.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
772 B
Referenced Files
None
Subscribers
None
D32608.diff
View Options
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c
--- a/sys/netinet/ip_divert.c
+++ b/sys/netinet/ip_divert.c
@@ -687,18 +687,6 @@
return div_output(so, m, (struct sockaddr_in *)nam, control);
}
-static void
-div_ctlinput(int cmd, struct sockaddr *sa, void *vip)
-{
- struct in_addr faddr;
-
- faddr = ((struct sockaddr_in *)sa)->sin_addr;
- if (sa->sa_family != AF_INET || faddr.s_addr == INADDR_ANY)
- return;
- if (PRC_IS_REDIRECT(cmd))
- return;
-}
-
static int
div_pcblist(SYSCTL_HANDLER_ARGS)
{
@@ -791,7 +779,6 @@
.pr_protocol = IPPROTO_DIVERT,
.pr_flags = PR_ATOMIC|PR_ADDR,
.pr_input = div_input,
- .pr_ctlinput = div_ctlinput,
.pr_ctloutput = ip_ctloutput,
.pr_init = div_init,
.pr_usrreqs = &div_usrreqs
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 12:20 PM (21 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14738178
Default Alt Text
D32608.diff (772 B)
Attached To
Mode
D32608: Garbage collection in divert(4).
Attached
Detach File
Event Timeline
Log In to Comment