History log of /netbsd/sys/netinet6/mld6.c (Results 1 – 25 of 100)
Revision Date Author Comments
# c5237ff5 25-Sep-2019 ozaki-r <ozaki-r@NetBSD.org>

Make panic messages more informative


# ae0244df 22-Dec-2018 maxv <maxv@NetBSD.org>

Replace M_ALIGN and MH_ALIGN by m_align.


# bb5d58b5 29-May-2018 ozaki-r <ozaki-r@NetBSD.org>

Avoid double LIST_REMOVE which corrupts lists


# a1fdd3c7 29-May-2018 ozaki-r <ozaki-r@NetBSD.org>

Move LIST_REMOVE

mld_stoptimer releases in6_multilock temporarily, so we must LIST_REMOVE first.


# 798e16e1 29-May-2018 ozaki-r <ozaki-r@NetBSD.org>

Make a deletion of in6m in nd6_rtrequest atomic


# df629cf9 29-May-2018 ozaki-r <ozaki-r@NetBSD.org>

Make a refcount decrement and a removal from a list of an item atomic

in6m_refcount of an in6m can be incremented if the in6m is on the list
(if_multiaddrs) in in6_addmulti or mld_input. So we must

Make a refcount decrement and a removal from a list of an item atomic

in6m_refcount of an in6m can be incremented if the in6m is on the list
(if_multiaddrs) in in6_addmulti or mld_input. So we must avoid such an
increment when we try to destroy an in6m. To this end we must make
an in6m_refcount decrement and a removal of an in6m from if_multiaddrs
atomic.

show more ...


# e64af48e 29-May-2018 ozaki-r <ozaki-r@NetBSD.org>

Improve atomicity of in6_leavegroup and in6_delmulti


# 730880d7 29-May-2018 ozaki-r <ozaki-r@NetBSD.org>

Release in6_multilock on callout_halt of mld_timeo to avoid a deadlock


# 8264e4c5 29-May-2018 ozaki-r <ozaki-r@NetBSD.org>

Don't hold softnet_lock in mld_timeo

Then we can get rid of remaining abuses of mutex_owned(softnet_lock).


# 82000398 01-May-2018 maxv <maxv@NetBSD.org>

Remove now unused net_osdep.h includes, the other BSDs did the same.


# c5535f66 01-Feb-2018 maxv <maxv@NetBSD.org>

Style, and remove the 'len' argument from mld_allocbuf(), it is misleading,
we only want a static struct. Beyond that no functional change.


# a5d1c1f4 17-Nov-2017 ozaki-r <ozaki-r@NetBSD.org>

Provide macros for softnet_lock and KERNEL_LOCK hiding NET_MPSAFE switch

It reduces C&P codes such as "#ifndef NET_MPSAFE KERNEL_LOCK(1, NULL); ..."
scattered all over the source code and makes it e

Provide macros for softnet_lock and KERNEL_LOCK hiding NET_MPSAFE switch

It reduces C&P codes such as "#ifndef NET_MPSAFE KERNEL_LOCK(1, NULL); ..."
scattered all over the source code and makes it easy to identify remaining
KERNEL_LOCK and/or softnet_lock that are held even if NET_MPSAFE.

No functional change

show more ...


# 3b4e2309 13-May-2017 kardel <kardel@NetBSD.org>

avoid a double ifa_release() and thus a panic when e. g. running ifmcstat


# 4a9545ef 02-Mar-2017 ozaki-r <ozaki-r@NetBSD.org>

Plug a race condition on accessing i6mm_maddr


# 2735c06d 02-Mar-2017 ozaki-r <ozaki-r@NetBSD.org>

Fix racy in6m_sol

Relook up the entry instead of reusing it, which makes locking simple.


# 38327cdd 02-Mar-2017 ozaki-r <ozaki-r@NetBSD.org>

Protect ia6_memberships by in6_ifaddr_lock


# af0c3b50 01-Mar-2017 ozaki-r <ozaki-r@NetBSD.org>

Make IPv6 multicast MP-safe partially

To complete the task, we need to make users of IPv6 multicast MP-safe, for
example socket/PCB and CARP.


# e1051bbe 01-Mar-2017 ozaki-r <ozaki-r@NetBSD.org>

Provide in6_multi_group

Use it when checking if we belong to the group, instead of in6_lookup_multi.

No functional change.


# c104e0fa 23-Feb-2017 ozaki-r <ozaki-r@NetBSD.org>

Remove mkludge stuffs

For unknown reasons, IPv6 multicast addresses are linked to a first
IPv6 address assigned to an interface. Due to the design, when removing
a first address having multicast add

Remove mkludge stuffs

For unknown reasons, IPv6 multicast addresses are linked to a first
IPv6 address assigned to an interface. Due to the design, when removing
a first address having multicast addresses, we need to save them to
somewhere and later restore them once a new IPv6 address is activated.
mkludge stuffs support the operations.

This change links multicast addresses to an interface directly and
throws the kludge away.

Note that as usual some obsolete member variables remain for kvm(3)
users. And also sysctl net.inet6.multicast_kludge remains to avoid
breaking old ifmcstat.

TODO: currently ifnet has a list of in6_multi but obviously the list
should be protocol independent. Provide a common structure (if_multi
or something) to handle in6_multi and in_multi together as well as
ifaddr does for in_ifaddr and in6_ifaddr.

show more ...


# 3dda3af8 22-Feb-2017 ozaki-r <ozaki-r@NetBSD.org>

Stop using useless IN6_*_MULTI macros


# a104898c 07-Feb-2017 ozaki-r <ozaki-r@NetBSD.org>

Add missing NULL checks for m_get_rcvif


# 58ebac21 24-Jan-2017 ozaki-r <ozaki-r@NetBSD.org>

Tweak softnet_lock and NET_MPSAFE

- Don't hold softnet_lock in some functions if NET_MPSAFE
- Add softnet_lock to sysctl_net_inet_icmp_redirtimeout
- Add softnet_lock to expire_upcalls of ip_mroute.

Tweak softnet_lock and NET_MPSAFE

- Don't hold softnet_lock in some functions if NET_MPSAFE
- Add softnet_lock to sysctl_net_inet_icmp_redirtimeout
- Add softnet_lock to expire_upcalls of ip_mroute.c
- Restore softnet_lock for in{,6}_pcbpurgeif{,0} if NET_MPSAFE
- Mark some softnet_lock for future work

show more ...


# 1a85e7c6 16-Jan-2017 christos <christos@NetBSD.org>

ip6_sprintf -> IN6_PRINT so that we pass the size.


# d57ba21c 16-Jan-2017 ryo <ryo@NetBSD.org>

Make ip6_sprintf(), in_fmtaddr(), lla_snprintf() and icmp6_redirect_diag() mpsafe.

Reviewed by ozaki-r@


# a41b4f38 11-Jan-2017 ozaki-r <ozaki-r@NetBSD.org>

Get rid of unnecessary header inclusions


1234