[Differential] D26757: Fix to join AllHost mcast group again when adding an existing IP address
ae (Andrey V. Elsukov)
phabric-noreply at FreeBSD.org
Tue Oct 13 19:35:08 UTC 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rS366682: Join to AllHosts multicast group again when adding an existing IPv4 address. (authored by ae).
CHANGED PRIOR TO COMMIT
https://reviews.freebsd.org/D26757?vs=78157&id=78184#toc
REPOSITORY
rS FreeBSD src repository
CHANGES SINCE LAST UPDATE
https://reviews.freebsd.org/D26757?vs=78157&id=78184
CHANGES SINCE LAST ACTION
https://reviews.freebsd.org/D26757/new/
REVISION DETAIL
https://reviews.freebsd.org/D26757
AFFECTED FILES
head/sys/netinet/in.c
CHANGE DETAILS
diff --git a/head/sys/netinet/in.c b/head/sys/netinet/in.c
--- a/head/sys/netinet/in.c
+++ b/head/sys/netinet/in.c
@@ -377,10 +377,11 @@
continue;
it = (struct in_ifaddr *)ifa;
- iaIsFirst = false;
if (it->ia_addr.sin_addr.s_addr == addr->sin_addr.s_addr &&
prison_check_ip4(td->td_ucred, &addr->sin_addr) == 0)
ia = it;
+ else
+ iaIsFirst = false;
}
NET_EPOCH_EXIT(et);
EMAIL PREFERENCES
https://reviews.freebsd.org/settings/panel/emailpreferences/
To: yannis.planus_alstomgroup.com, #network, mw, ae, gnn
Cc: ae, imp, freebsd-net-list, melifaro, rscheff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26757.78184.patch
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20201013/66593a18/attachment.bin>
More information about the freebsd-net
mailing list