FreeBSD Bugzilla – Attachment 246500 Details for
Bug 275265
When net.inet6.icmp6.nodeinfo=0 interfaces should not join NI multicast groups
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
in6.c.patch (text/plain), 1.22 KB, created by
Sean Donelan
on 2023-11-22 16:34:05 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Sean Donelan
Created:
2023-11-22 16:34:05 UTC
Size:
1.22 KB
patch
obsolete
>*** /usr/src/sys/netinet6/in6.c Sun Feb 5 03:27:09 2023 >--- in6.c Wed Nov 22 11:24:34 2023 >*************** >*** 122,127 **** >--- 122,129 ---- > offsetof(struct ifreq, ifr_ifru), > "struct in6_ifreq and struct ifreq are not type punnable"); > >+ VNET_DECLARE(int, icmp6_nodeinfo); >+ #define V_icmp6_nodeinfo VNET(icmp6_nodeinfo) > VNET_DECLARE(int, icmp6_nodeinfo_oldmcprefix); > #define V_icmp6_nodeinfo_oldmcprefix VNET(icmp6_nodeinfo_oldmcprefix) > >*************** >*** 822,830 **** > LIST_INSERT_HEAD(&ia->ia6_memberships, imm, i6mm_chain); > > /* >! * Join node information group address. > */ > delay = 0; > if ((flags & IN6_IFAUPDATE_DADDELAY)) { > /* > * The spec does not say anything about delay for this group, >--- 824,833 ---- > LIST_INSERT_HEAD(&ia->ia6_memberships, imm, i6mm_chain); > > /* >! * Only Join node information group address when nodeinfo nonzero. > */ > delay = 0; >+ if (V_icmp6_nodeinfo) { > if ((flags & IN6_IFAUPDATE_DADDELAY)) { > /* > * The spec does not say anything about delay for this group, >*************** >*** 855,860 **** >--- 858,864 ---- > /* XXX not very fatal, go on... */ > else > LIST_INSERT_HEAD(&ia->ia6_memberships, imm, i6mm_chain); >+ } > } > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275265
: 246500