Home | History | Annotate | Download | only in agr
History log of /src/sys/net/agr/if_agrsubr.c
RevisionDateAuthorComments
 1.13  10-Nov-2019  chs in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.12  25-Jan-2018  christos branches: 1.12.4;
Add locking.
 1.11  06-Dec-2017  ozaki-r Simplify; share agr_vlan_add and agr_vlan_del (NFCI)
 1.10  24-Aug-2015  pooka branches: 1.10.10;
sprinkle _KERNEL_OPT
 1.9  19-Jan-2010  pooka branches: 1.9.22; 1.9.40;
Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client. This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached. However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff. ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
 1.8  01-Sep-2007  dyoung branches: 1.8.24;
Use ifreq_getaddr(). Pass a sockaddr instead of ifreq where sockaddr
will suffice.
 1.7  02-Aug-2007  yamt branches: 1.7.2; 1.7.4; 1.7.6;
don't forget to maintain ama_addrs. reported by Coverity via Arnaud Lacombe.
 1.6  02-Aug-2007  yamt agrport_mc_del_callback: s/SIOCADDMULTI/SIOCDELMULTI/
 1.5  04-Mar-2007  christos branches: 1.5.2; 1.5.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.4  21-Feb-2007  thorpej Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
 1.3  11-Dec-2005  christos branches: 1.3.26;
merge ktrace-lwp.
 1.2  12-Aug-2005  yamt include callout.h explicitly.
 1.1  18-Mar-2005  yamt branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
add agr(4), a pseudo network device driver for link aggregation.
 1.1.8.3  03-Sep-2007  yamt sync with head.
 1.1.8.2  26-Feb-2007  yamt sync with head.
 1.1.8.1  21-Jun-2006  yamt sync with head.
 1.1.6.2  29-Apr-2005  kent sync with -current
 1.1.6.1  18-Mar-2005  kent file if_agrsubr.c was added on branch kent-audio2 on 2005-04-29 11:29:32 +0000
 1.1.4.3  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.4.2  01-Apr-2005  skrll Sync with HEAD.
 1.1.4.1  18-Mar-2005  skrll file if_agrsubr.c was added on branch ktrace-lwp on 2005-04-01 14:31:50 +0000
 1.1.2.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.1.2.1  18-Mar-2005  yamt file if_agrsubr.c was added on branch yamt-km on 2005-03-19 08:36:35 +0000
 1.3.26.2  12-Mar-2007  rmind Sync with HEAD.
 1.3.26.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.5.10.2  03-Sep-2007  skrll Sync with HEAD.
 1.5.10.1  15-Aug-2007  skrll Sync with HEAD.
 1.5.2.2  09-Oct-2007  ad Sync with head.
 1.5.2.1  20-Aug-2007  ad Sync with HEAD.
 1.7.6.2  02-Aug-2007  yamt don't forget to maintain ama_addrs. reported by Coverity via Arnaud Lacombe.
 1.7.6.1  02-Aug-2007  yamt file if_agrsubr.c was added on branch matt-mips64 on 2007-08-02 12:37:48 +0000
 1.7.4.1  06-Nov-2007  matt sync with HEAD
 1.7.2.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.8.24.1  11-Mar-2010  yamt sync with head
 1.9.40.1  22-Sep-2015  skrll Sync with HEAD
 1.9.22.1  03-Dec-2017  jdolecek update from HEAD
 1.10.10.1  05-Feb-2018  martin Pull up following revision(s) (requested by ozaki-r in ticket #528):
sys/net/agr/if_agr.c: revision 1.42
sys/netinet6/nd6_rtr.c: revision 1.137
sys/netinet6/nd6_rtr.c: revision 1.138
sys/net/agr/if_agr.c: revision 1.46
sys/net/route.c: revision 1.206
sys/net/if.c: revision 1.419
sys/net/agr/if_agrether.c: revision 1.10
sys/netinet6/nd6.c: revision 1.241
sys/netinet6/nd6.c: revision 1.242
sys/netinet6/nd6.c: revision 1.243
sys/netinet6/nd6.c: revision 1.244
sys/netinet6/nd6.c: revision 1.245
sys/netipsec/ipsec_input.c: revision 1.52
sys/netipsec/ipsec_input.c: revision 1.53
sys/net/agr/if_agrsubr.h: revision 1.5
sys/kern/subr_workqueue.c: revision 1.35
sys/netipsec/ipsec.c: revision 1.124
sys/net/agr/if_agrsubr.c: revision 1.11
sys/net/agr/if_agrsubr.c: revision 1.12
Simplify; share agr_vlan_add and agr_vlan_del (NFCI)
Fix late NULL-checking (CID 1427782: Null pointer dereferences (REVERSE_INULL))
KNF: replace soft tabs with hard tabs
Add missing NULL-checking for m_pullup (CID 1427770: Null pointer dereferences (NULL_RETURNS))
Add locking.
Revert "Get rid of unnecessary splsoftnet" (v1.133)
It's not always true that softnet_lock is held these places.
See PR kern/52947.
Get rid of unnecessary splsoftnet (redo)
Unless NET_MPSAFE, splsoftnet is still needed for rt_* functions.
Use existing fill_[pd]rlist() functions to calculate size of buffer to
allocate, rather than relying on an arbitrary length passed in from
userland.
Allow copyout() of partial results if the user buffer is too small, to
be consistent with the way sysctl(3) is documented.
Garbage-collect now-unused third parrameter in the fill_[pd]rlist()
functions.
As discussed on IRC.
OK kamil@ and christos@
XXX Needs pull-up to netbsd-8 branch.
Simplify, from christos@
More simplification, this time from ozaki-r@
No need to break after return.
One more from christos@
No need to initialize fill_func
more cleanup (don't allow oldlenp == NULL)
Destroy ifq_lock at the end of if_detach
It still can be used in if_detach.
Prevent rt_free_global.wk from being enqueued to workqueue doubly
Check if a queued work is tried to be enqueued again, which is not allowed
 1.12.4.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed