History log of /netbsd-src/sys/rump/net/lib/libnetinet/netinet_component.c (Results 1 – 13 of 13)
Revision Date Author Comments
# 6ffff4f2 03-Sep-2022 thorpej <thorpej@NetBSD.org>

Garbage-collect the remaining vestiges of netisr.


# 63ae4dd2 03-Sep-2022 thorpej <thorpej@NetBSD.org>

Convert ARP from a legacy netisr to pktqueue.


# ef58cf2c 24-Feb-2018 ozaki-r <ozaki-r@NetBSD.org>

Avoid a deadlock between softnet_lock and IFNET_LOCK

A deadlock occurs because there is a violation of the rule of lock ordering;
softnet_lock is held with hodling IFNET_LOCK, which violates the rul

Avoid a deadlock between softnet_lock and IFNET_LOCK

A deadlock occurs because there is a violation of the rule of lock ordering;
softnet_lock is held with hodling IFNET_LOCK, which violates the rule.
To avoid the deadlock, replace softnet_lock in in_control and in6_control
with KERNEL_LOCK.

We also need to add some KERNEL_LOCKs to protect the network stack surely.
This is required, for example, for PR kern/51356.

Fix PR kern/53043

show more ...


# cb1c111a 11-Dec-2017 ozaki-r <ozaki-r@NetBSD.org>

Wrap if_ioctl_lock with IFNET_* macros (NFC)

Also if_ioctl_lock perhaps needs to be renamed to something because it's now
not just for ioctl...


# 3c0d913f 07-Dec-2017 ozaki-r <ozaki-r@NetBSD.org>

Ensure to call if_addr_init with holding if_ioctl_lock


# ac86ae25 20-Jan-2017 ozaki-r <ozaki-r@NetBSD.org>

Protect if_clone data with if_clone_mtx

To this end, carpattach needs to be delayed from RUMP_COMPONENT_NET to
RUMP_COMPONENT_NET_IF on rump_server. Otherwise mutex_enter via carpattach
for if_clone

Protect if_clone data with if_clone_mtx

To this end, carpattach needs to be delayed from RUMP_COMPONENT_NET to
RUMP_COMPONENT_NET_IF on rump_server. Otherwise mutex_enter via carpattach
for if_clone_mtx is called before mutex_init for it in ifinit1.

show more ...


# ccab2709 13-Aug-2016 christos <christos@NetBSD.org>

Don't call loopinit() here. Instead panic if -lrumpnet_net has not been
called to initialize lo0ifp.


# a626a5b3 12-Aug-2016 christos <christos@NetBSD.org>

more loopinit();


# 6bb51422 26-Jan-2016 pooka <pooka@NetBSD.org>

Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories. Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile

Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories. Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.

show more ...


# b41a4e16 22-Aug-2014 pooka <pooka@NetBSD.org>

Nuke the DOMAINADD() macro and just call domain_attach(), now that things
work correctly that way.


# 0dedd977 01-Jul-2014 rtr <rtr@NetBSD.org>

fix parameter types in pr_ioctl, called xx_control() functions and remove
abuse of pointer to struct mbuf type.

param2 changed to u_long type and uses parameter name 'cmd' (ioctl command)
param3 cha

fix parameter types in pr_ioctl, called xx_control() functions and remove
abuse of pointer to struct mbuf type.

param2 changed to u_long type and uses parameter name 'cmd' (ioctl command)
param3 changed to void * type and uses parameter name 'data'
param4 changed to struct ifnet * and uses parameter name 'ifp'
param5 has been removed (formerly struct lwp *) and uses of 'l' have been
replaced with curlwp from curproc(9).

callers have had (now unnecessary) casts to struct mbuf * removed, called
code has had (now unnecessary) casts to u_long, void * and struct ifnet *
respectively removed.

reviewed by rmind@

show more ...


# 60d350cf 05-Jun-2014 rmind <rmind@NetBSD.org>

- Implement pktqueue interface for lockless IP input queue.
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to

- Implement pktqueue interface for lockless IP input queue.
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to push softnet_lock out of ipintr().

Discussed on tech-net.

show more ...


# 5c81644c 13-Mar-2014 pooka <pooka@NetBSD.org>

rename component.c -> netinet_component.c