History log of /src/sys/net/if_ppp.c |
Revision | | Date | Author | Comments |
1.173 |
| 05-Jul-2024 |
rin | sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD: https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Compile-tested on amd64/ALL.
Suggested by knakahara@
|
1.172 |
| 03-Sep-2022 |
thorpej | branches: 1.172.8; 1.172.10; Garbage-collect the remaining vestiges of netisr.
|
1.171 |
| 27-Aug-2022 |
thorpej | Ensure that all queues passed to ifq_enqueue2() have a valid ifq_lock.
|
1.170 |
| 27-Aug-2022 |
thorpej | Consistently use IFQ_SET_MAXLEN(), rather than open-coding it. NFC.
|
1.169 |
| 06-Jul-2022 |
riastradh | net/if_ppp.c: Avoid user-controlled overrun in PPPIOCSCOMPRESS.
Reported-by: syzbot+2c7bda7dc2b6c0d4f279@syzkaller.appspotmail.com
|
1.168 |
| 06-Jul-2022 |
riastradh | net/if_ppp.c: Sprinkle KNF. No functional change intended.
|
1.167 |
| 29-Jan-2020 |
thorpej | Adopt <net/if_stats.h>.
|
1.166 |
| 20-Sep-2019 |
maxv | branches: 1.166.2; dedup
|
1.165 |
| 25-Jun-2019 |
msaitoh | Simplify "LIST_HEAD();" to make the code more understandable. No functional change.
|
1.164 |
| 25-Jan-2019 |
knakahara | Add __cacheline_aligned to ppp softc list and its mutex just in case.
|
1.163 |
| 11-Jan-2019 |
knakahara | Fix missing splx in ppp_inproc().
|
1.162 |
| 11-Jan-2019 |
knakahara | Fix missing mutex_exit in ppp_create().
|
1.161 |
| 26-Jun-2018 |
msaitoh | branches: 1.161.2; Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same as FreeBSD.
This change also fixes a bug that the direction is misunderstand on some environment by passing the direction to bpf_mtap*() instead of checking m->m_pkthdr.rcvif.
|
1.160 |
| 25-Jun-2018 |
msaitoh | Remove duplicated inclusion of net/bpf.h.
|
1.159 |
| 17-Sep-2017 |
christos | branches: 1.159.2; Add one more not supported error
|
1.158 |
| 02-Oct-2016 |
christos | branches: 1.158.8; MFREE -> m_free
|
1.157 |
| 07-Aug-2016 |
christos | modularize some more drivers and merge the module glue
|
1.156 |
| 06-Aug-2016 |
pgoyette | Destroy the mutex when detaching ppp. Otherwise on a re-attach (ie, module reload) we can end up with a panic "lock already initialized"
|
1.155 |
| 06-Aug-2016 |
christos | make strip and slip modular, and cosmetic for ppp.
|
1.154 |
| 06-Aug-2016 |
pgoyette | Change the internal name of the module to match its external (file system) name. Otherwise "bad things" can happen, such as modload(8) being able to load a second copy!
|
1.153 |
| 06-Aug-2016 |
pgoyette | Modularize the ppp driver, and adjust dependencies of the compressor modules.
For now, this is still included as a built-in module in GENERIC kernels.
|
1.152 |
| 10-Jun-2016 |
ozaki-r | branches: 1.152.2; Introduce m_set_rcvif and m_reset_rcvif
The API is used to set (or reset) a received interface of a mbuf. They are counterpart of m_get_rcvif, which will come in another commit, hide internal of rcvif operation, and reduce the diff of the upcoming change.
No functional change.
|
1.151 |
| 28-Apr-2016 |
ozaki-r | Constify rtentry of if_output
We no longer need to change rtentry below if_output.
The change makes it clear where rtentries are changed (or not) and helps forthcoming locking (os psrefing) rtentries.
|
1.150 |
| 20-Apr-2016 |
knakahara | IFQ_ENQUEUE refactor (3/3) : eliminate pktattr argument from IFQ_ENQUEUE caller
|
1.149 |
| 24-Aug-2015 |
pooka | sprinkle _KERNEL_OPT
|
1.148 |
| 20-Aug-2015 |
uebayasi | Honor pseudo attach decl generated by config(1).
|
1.147 |
| 20-Apr-2015 |
roy | Introduce p2p_rtrequest() so that IFF_POINTOPOINT interfaces can work with RTF_LOCAL. Fixes PR kern/49829.
|
1.146 |
| 01-Jul-2014 |
msaitoh | branches: 1.146.4; KNF. No functional change.
|
1.145 |
| 30-Jun-2014 |
ozaki-r | Cleanup ppp_inproc
- Remove unnecessary variable isr - Use pktq instead of rv to switch between inet/inet6 and other protocols
ok msaitoh@ and rmind@
|
1.144 |
| 05-Jun-2014 |
rmind | - 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.
|
1.143 |
| 17-May-2014 |
rmind | ppp_inproc: handle non-IP protocols correctly (hi msaitoh); PR/48813.
|
1.142 |
| 15-May-2014 |
msaitoh | Save a NETISR_* value in a variable and call schednetisr() after enqueue a packet for readability and future modification.
|
1.141 |
| 18-Sep-2013 |
rmind | branches: 1.141.2; Add bpf_filter_ext() to use with BPF COP, restore bpf_filter() as it was originally to preserve compatibility. Similarly, add bpf_validate_ext() which takes bpf_ctx_t.
|
1.140 |
| 30-Aug-2013 |
rmind | bpf_filter: add a custom argument which can be passed to coprocessor routine.
|
1.139 |
| 29-Aug-2013 |
rmind | Implement BPF_COP/BPF_COPX instructions in the misc category (BPF_MISC) which add a capability to call external functions in a predetermined way.
It can be thought as a BPF "coprocessor" -- a generic mechanism to offload more complex packet inspection operations. There is no default coprocessor and this functionality is not targeted to the /dev/bpf. This is primarily targeted to the kernel subsystems, therefore there is no way to set a custom coprocessor at the userlevel.
Discussed on: tech-net@ OK: core@
|
1.138 |
| 25-Nov-2012 |
mbalmer | branches: 1.138.2; Don't check mp for NULL twice. From Michael W. Bomardieri <mb@il.net> via tech-net@NetBSD.org. Thanks!
|
1.137 |
| 11-Oct-2012 |
christos | PR/47058: Antti Kantee: If the ipv6 flow code modifies the mbuf, pass the change up to the caller.
|
1.136 |
| 28-Oct-2011 |
dyoung | branches: 1.136.2; 1.136.8; 1.136.12; For these interfaces, the implementation of SIOCSIFDSTADDR is identical to SIOCINITIFADDR, and SIOCSIFDSTADDR callers always fall back to SIOCINITIFADDR, so just get rid of the SIOCSIFDSTADDR case.
|
1.135 |
| 28-Oct-2011 |
dyoung | Don't kauth-orize SIOCSIFMTU in pppsioctl() and stf_ioctl(), ifioctl() has already done that for us.
|
1.134 |
| 07-Aug-2011 |
rmind | Convert ppp_list_lock to mutex(9).
|
1.133 |
| 02-Apr-2011 |
mbalmer | Fix misplaced parenthesis. From henning.petersen@t-online.de, thanks.
|
1.132 |
| 21-Aug-2010 |
pgoyette | branches: 1.132.2; Update the rest of the kernel to conform to the module subsystem's new locking protocol.
|
1.131 |
| 05-Apr-2010 |
joerg | Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf check into the inline functions as well the fourth argument for bpf_attach.
|
1.130 |
| 19-Jan-2010 |
pooka | branches: 1.130.2; 1.130.4; 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.129 |
| 15-Apr-2009 |
elad | Remove a few KAUTH_GENERIC_ISSUSER in favor of more descriptive alternatives.
Discussed on tech-kern:
http://mail-index.netbsd.org/tech-kern/2009/04/11/msg004798.html
Input from ad@, christos@, dyoung@, tsutsui@.
Okay ad@.
|
1.128 |
| 19-Jan-2009 |
yamt | branches: 1.128.2; ppp_get_compressor: take module_lock when trying to load a module. PR/40428
|
1.127 |
| 17-Dec-2008 |
cegger | kill MALLOC and FREE macros.
|
1.126 |
| 29-Nov-2008 |
cube | Fix handling of ppp compressor modules, from Andrew Doran's input. - ref count each compressor - allow {un,}registration of several modules at once - une RUN_ONCE to make sure the mutex is initialised, because unfortunately built-in (and bootloader-loaded) modules init functions are run before pseudo-devices attach (reported by Nick Hudson).
|
1.125 |
| 25-Nov-2008 |
cube | Rework the way PPP compmressors are handled and allow them to be automatically loaded when needed.
|
1.124 |
| 07-Nov-2008 |
dyoung | *** Summary ***
When a link-layer address changes (e.g., ifconfig ex0 link 02:de:ad:be:ef:02 active), send a gratuitous ARP and/or a Neighbor Advertisement to update the network-/link-layer address bindings on our LAN peers.
Refuse a change of ethernet address to the address 00:00:00:00:00:00 or to any multicast/broadcast address. (Thanks matt@.)
Reorder ifnet ioctl operations so that driver ioctls may inherit the functions of their "class"---ether_ioctl(), fddi_ioctl(), et cetera---and the class ioctls may inherit from the generic ioctl, ifioctl_common(), but both driver- and class-ioctls may override the generic behavior. Make network drivers share more code.
Distinguish a "factory" link-layer address from others for the purposes of both protecting that address from deletion and computing EUI64.
Return consistent, appropriate error codes from network drivers.
Improve readability. KNF.
*** Details ***
In if_attach(), always initialize the interface ioctl routine, ifnet->if_ioctl, if the driver has not already initialized it. Delete if_ioctl == NULL tests everywhere else, because it cannot happen.
In the ioctl routines of network interfaces, inherit common ioctl behaviors by calling either ifioctl_common() or whichever ioctl routine is appropriate for the class of interface---e.g., ether_ioctl() for ethernets.
Stop (ab)using SIOCSIFADDR and start to use SIOCINITIFADDR. In the user->kernel interface, SIOCSIFADDR's argument was an ifreq, but on the protocol->ifnet interface, SIOCSIFADDR's argument was an ifaddr. That was confusing, and it would work against me as I make it possible for a network interface to overload most ioctls. On the protocol->ifnet interface, replace SIOCSIFADDR with SIOCINITIFADDR. In ifioctl(), return EPERM if userland tries to invoke SIOCINITIFADDR.
In ifioctl(), give the interface the first shot at handling most interface ioctls, and give the protocol the second shot, instead of the other way around. Finally, let compatibility code (COMPAT_OSOCK) take a shot.
Pull device initialization out of switch statements under SIOCINITIFADDR. For example, pull ..._init() out of any switch statement that looks like this:
switch (...->sa_family) { case ...: ..._init(); ... break; ... default: ..._init(); ... break; }
Rewrite many if-else clauses that handle all permutations of IFF_UP and IFF_RUNNING to use a switch statement,
switch (x & (IFF_UP|IFF_RUNNING)) { case 0: ... break; case IFF_RUNNING: ... break; case IFF_UP: ... break; case IFF_UP|IFF_RUNNING: ... break; }
unifdef lots of code containing #ifdef FreeBSD, #ifdef NetBSD, and #ifdef SIOCSIFMTU, especially in fwip(4) and in ndis(4).
In ipw(4), remove an if_set_sadl() call that is out of place.
In nfe(4), reuse the jumbo MTU logic in ether_ioctl().
Let ethernets register a callback for setting h/w state such as promiscuous mode and the multicast filter in accord with a change in the if_flags: ether_set_ifflags_cb() registers a callback that returns ENETRESET if the caller should reset the ethernet by calling if_init(), 0 on success, != 0 on failure. Pull common code from ex(4), gem(4), nfe(4), sip(4), tlp(4), vge(4) into ether_ioctl(), and register if_flags callbacks for those drivers.
Return ENOTTY instead of EINVAL for inappropriate ioctls. In zyd(4), use ENXIO instead of ENOTTY to indicate that the device is not any longer attached.
Add to if_set_sadl() a boolean 'factory' argument that indicates whether a link-layer address was assigned by the factory or some other source. In a comment, recommend using the factory address for generating an EUI64, and update in6_get_hw_ifid() to prefer a factory address to any other link-layer address.
Add a routing message, RTM_LLINFO_UPD, that tells protocols to update the binding of network-layer addresses to link-layer addresses. Implement this message in IPv4 and IPv6 by sending a gratuitous ARP or a neighbor advertisement, respectively. Generate RTM_LLINFO_UPD messages on a change of an interface's link-layer address.
In ether_ioctl(), do not let SIOCALIFADDR set a link-layer address that is broadcast/multicast or equal to 00:00:00:00:00:00.
Make ether_ioctl() call ifioctl_common() to handle ioctls that it does not understand.
In gif(4), initialize if_softc and use it, instead of assuming that the gif_softc and ifp overlap.
Let ifioctl_common() handle SIOCGIFADDR.
Sprinkle rtcache_invariants(), which checks on DIAGNOSTIC kernels that certain invariants on a struct route are satisfied.
In agr(4), rewrite agr_ioctl_filter() to be a bit more explicit about the ioctls that we do not allow on an agr(4) member interface.
bzero -> memset. Delete unnecessary casts to void *. Use sockaddr_in_init() and sockaddr_in6_init(). Compare pointers with NULL instead of "testing truth". Replace some instances of (type *)0 with NULL. Change some K&R prototypes to ANSI C, and join lines.
|
1.123 |
| 15-Jun-2008 |
christos | branches: 1.123.2; 1.123.4; - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) - kill memsets where M_ZERO can be used.
|
1.122 |
| 24-Apr-2008 |
ad | branches: 1.122.2; 1.122.4; 1.122.6; Merge the socket locking patch:
- Socket layer becomes MP safe. - Unix protocols become MP safe. - Allows protocol processing interrupts to safely block on locks. - Fixes a number of race conditions.
With much feedback from matt@ and plunky@.
|
1.121 |
| 07-Feb-2008 |
dyoung | branches: 1.121.6; 1.121.8; Start patching up the kernel so that a network driver always has the opportunity to handle an ioctl before generic ifioctl handling occurs. This will ease extending the kernel and sharing of code between drivers.
First steps: Make the signature of ifioctl_common() match struct ifinet->if_ioctl. Convert SIOCSIFCAP and SIOCSIFMTU to the new ifioctl() regime, throughout the kernel.
|
1.120 |
| 04-Jan-2008 |
ad | Start detangling lock.h from intr.h. This is likely to cause short term breakage, but the mess of dependencies has been regularly breaking the build recently anyhow.
|
1.119 |
| 19-Oct-2007 |
ad | branches: 1.119.2; 1.119.8; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.118 |
| 08-Oct-2007 |
ad | branches: 1.118.2; Use the softint API.
|
1.117 |
| 01-Sep-2007 |
dyoung | branches: 1.117.2; Use ifreq_setaddr(), ifreq_getaddr(), sockaddr_in_init(), and sockaddr_copy(). Constify. Compare pointers with NULL, not 0. Don't "test truth" of pointers, but compare with NULL.
|
1.116 |
| 14-Jul-2007 |
ad | branches: 1.116.2; 1.116.6; 1.116.8; Generic soft interrupts are mandatory.
|
1.115 |
| 09-Jul-2007 |
ad | Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.114 |
| 07-Mar-2007 |
liamjfoy | branches: 1.114.2; 1.114.4; Add IPv6 Fast Forward - the IPv4 counterpart:
If ip6_forward successfully forwards a packet, a cache, in this case a ip6flow struct entry, will be created. ether_input and friends will then be able to call ip6flow_fastforward with the packet which will then be passed to if_output (unless an issue is found - in that case the packet is passed back to ip6_input).
ok matt@ christos@ dyoung@ and joerg@
|
1.113 |
| 04-Mar-2007 |
christos | Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.112 |
| 17-Feb-2007 |
dyoung | KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous parentheses in return statements.
Cosmetic: don't open-code TAILQ_FOREACH().
Cosmetic: change types of variables to avoid oodles of casts: in in6_src.c, avoid casts by changing several route_in6 pointers to struct route pointers. Remove unnecessary casts to caddr_t elsewhere.
Pave the way for eliminating address family-specific route caches: soon, struct route will not embed a sockaddr, but it will hold a reference to an external sockaddr, instead. We will set the destination sockaddr using rtcache_setdst(). (I created a stub for it, but it isn't used anywhere, yet.) rtcache_free() will free the sockaddr. I have extracted from rtcache_free() a helper subroutine, rtcache_clear(). rtcache_clear() will "forget" a cached route, but it will not forget the destination by releasing the sockaddr. I use rtcache_clear() instead of rtcache_free() in rtcache_update(), because rtcache_update() is not supposed to forget the destination.
Constify:
1 Introduce const accessor for route->ro_dst, rtcache_getdst().
2 Constify the 'dst' argument to ifnet->if_output(). This led me to constify a lot of code called by output routines.
3 Constify the sockaddr argument to protosw->pr_ctlinput. This led me to constify a lot of code called by ctlinput routines.
4 Introduce const macros for converting from a generic sockaddr to family-specific sockaddrs, e.g., sockaddr_in: satocsin6, satocsin, et cetera.
|
1.111 |
| 16-Nov-2006 |
christos | branches: 1.111.4; __unused removal on arguments; approved by core.
|
1.110 |
| 25-Oct-2006 |
elad | Kill some KAUTH_GENERIC_ISSUSER uses.
|
1.109 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.108 |
| 23-Jul-2006 |
ad | branches: 1.108.4; 1.108.6; Use the LWP cached credentials where sane.
|
1.107 |
| 07-Jun-2006 |
kardel | merge FreeBSD timecounters from branch simonb-timecounters - struct timeval time is gone time.tv_sec -> time_second - struct timeval mono_time is gone mono_time.tv_sec -> time_uptime - access to time via {get,}{micro,nano,bin}time() get* versions are fast but less precise - support NTP nanokernel implementation (NTP API 4) - further reading: Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
|
1.106 |
| 14-May-2006 |
elad | branches: 1.106.2; integrate kauth.
|
1.105 |
| 02-Jan-2006 |
yamt | branches: 1.105.2; 1.105.4; 1.105.6; 1.105.8; 1.105.10; ppp_dequeue: fix a mbuf leak/packet loss introduced by rev.1.104.
|
1.104 |
| 28-Dec-2005 |
christos | branches: 1.104.2; PR/5901: Felix A. Croes: PPP fast queue blocks traffic at normal priority. Applied fix, similar to the one suggested in the PR. We use a counter to limit the number of consecutive packets accepted from the fast queue. This number can be set via ioctl, but this has not been implemented. Since there are only 2 queues other proposed solutions such as ALTQ are overkill and they have not been implemented in the past 7 years. Now LCP echos can be used to detect that the line is up.
|
1.103 |
| 11-Dec-2005 |
thorpej | ANSI function decls and application of static.
|
1.102 |
| 27-Nov-2005 |
thorpej | Overhaul how TTY line disciplines are handled: - Replace references to linesw[0] with a ttyldisc_default() function that returns the default ("termios") line discipline. - The linesw[] array is gone, replaced by a linked list. - ttyldisc_add() and ttyldisc_remove() have been replaced by ttyldisc_attach() and ttyldisc_detach(). - Things that provide line disciplines are now responsible for registering those disciplines with the system. The linesw structures are no longer declared in tty_conf.c - Line disciplines are now refcounted; a lookup causes a reference to be held. ttyldisc_release() releases the reference. Attempts to detach an in-use line discipline result in EBUSY. - Fix function signature lossage in if_sl.c, if_strip.c, and tty_tb.c that was masked by the old tty_conf.c - tty_init() is no longer necessary; delete it and its call from main().
|
1.101 |
| 29-May-2005 |
christos | branches: 1.101.2; 1.101.8; - sprinkle const - remove unneeded casts - use more mem*() instead of b*() funcs.
|
1.100 |
| 17-May-2005 |
christos | Yes, it was a cool trick >20 years ago to use "0123456789abcdef"[a] to implement, xtoa(), but I think defining the samestring 50 times is a bit too much. Defined HEXDIGITS and hexdigits in subr_prf.c and use it...
|
1.99 |
| 31-Mar-2005 |
christos | no point in assigning to ifq twice.
|
1.98 |
| 31-Mar-2005 |
explorer | Fix error with ifq not being set before use. Explicitly set it to NULL just before it may be set to the fastq, since if this becomes a loop (and in one case already is) this will always work. ifq_enqueue2() is designed to handle this case.
|
1.97 |
| 31-Mar-2005 |
christos | factor out the interface queueing code into two functions. One used by the non point-to-point interfaces that has one queue, and one used by the point to point interfaces that has two queues. No functional changes. XXX: The ALTQ stuff makes the code ugly. XXX: More cleanup to come
|
1.96 |
| 26-Feb-2005 |
perry | nuke trailing whitespace
|
1.95 |
| 05-Dec-2004 |
christos | branches: 1.95.4; 1.95.6; pasto: simple_lock -> simple_unlock.
|
1.94 |
| 05-Dec-2004 |
peter | Don't forget to call bpfdetach in the clone destroy function. While here, add a missing static and change some spaces to tabs.
|
1.93 |
| 05-Dec-2004 |
he | Fix an obvious typo: scf -> sc. Discovered while compiling for x68k.
|
1.92 |
| 05-Dec-2004 |
christos | void in arg prototype.
|
1.91 |
| 05-Dec-2004 |
christos | Make ppp a cloning device. Based on the work of Quentin Garnier.
|
1.90 |
| 03-Jul-2004 |
dyoung | I changed pppoutput to use M_PREPEND. pppoutput was duplicating the functionality of M_PREPEND, but with a bug: m_pkthdr.len was not updated in pppoutput as it is in M_PREPEND.
Also, replace the loop that measures the length of the mbuf chain with a call to m_length.
This fixes a PR from an anonymous bug reporter. Thank you, anonymous bug reporter. Thanks, Itojun, for bringing the anonymous bug report to my attention.
|
1.89 |
| 21-Apr-2004 |
itojun | kill sprintf, use snprintf
|
1.88 |
| 28-Oct-2003 |
mycroft | Also, if we're going to bail, we should free the memory we just allocated...
|
1.87 |
| 28-Oct-2003 |
mycroft | Previous patch created a dead break.
|
1.86 |
| 25-Oct-2003 |
christos | Fix uninitialized variable warnings
|
1.85 |
| 01-Sep-2003 |
christos | Add a new ioctl PPPIOCGRAWIN to get the last characters we got from the remote site.
|
1.84 |
| 02-May-2003 |
itojun | branches: 1.84.2; KNF
|
1.83 |
| 27-Mar-2003 |
christos | PR/20844: Iain Hibbert: PPP Compressors cannot be loaded as LKM
|
1.82 |
| 19-Jan-2003 |
simonb | Remove variable that is only assigned too but not referenced.
|
1.81 |
| 02-Oct-2002 |
itojun | backout previous two - if you use ppp* interface, kernel panics instantly. it is apparent that the change was untested, and severety is high.
|
1.80 |
| 25-Sep-2002 |
augustss | Remove unused variable so the file compiles again.
|
1.79 |
| 25-Sep-2002 |
darrenr | Keep m_pkthdr.len updated correctly and use it rather than a loop to find out the total length of the packet.
|
1.78 |
| 01-Jul-2002 |
itojun | new copyright boilerplate from CMU. from openbsd
|
1.77 |
| 12-May-2002 |
matt | branches: 1.77.2; Make ppp_softc[] extern and declare in if_ppp.c
|
1.76 |
| 17-Mar-2002 |
atatat | Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been placed at -4. No ioctl code should now return -1 anywhere. The ioctl() system call is now properly restartable.
|
1.75 |
| 05-Mar-2002 |
itojun | bring in latest ALTQ from kjc. ALTQify some of the drivers.
|
1.74 |
| 14-Jan-2002 |
kleink | Include <machine/intr.h> unconditionally, instead of only doing so if __HAVE_GENERIC_SOFT_INTERRUPTS and relying on <sys/param.h> to provide it otherwise; pointed out by Aymeric Vincent.
|
1.73 |
| 13-Nov-2001 |
lukem | remove unnecessary #if NFOO > 0 .... #endif wrappers
|
1.72 |
| 12-Nov-2001 |
lukem | add RCSIDs
|
1.71 |
| 05-Aug-2001 |
jdolecek | use unsigned variable types as appropriate
|
1.70 |
| 18-Jul-2001 |
thorpej | bzero -> memset
|
1.69 |
| 14-Jun-2001 |
itojun | branches: 1.69.2; change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange. follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific interfaces only).
was: if_lastchange get updated on every packet transmission/receipt. now: if_lastchange get updated when IFF_UP is changed.
|
1.68 |
| 13-Apr-2001 |
thorpej | Remove the use of splimp() from the NetBSD kernel. splnet() and only splnet() is allowed for the protection of data structures used by network devices.
|
1.67 |
| 17-Jan-2001 |
thorpej | branches: 1.67.2; Fix a rather annoying problem where the sockaddr_dl which holds the link level name for the interface (ifp->if_sadl) is allocated before ifp->if_addrlen is initialized, which could lead to allocating too little space for the link level address.
Do this by splitting allocation of the link level name out of if_attach() and into if_alloc_sadl(), which is normally called by functions like ether_ifattach(). Network interfaces which don't have a link-specific attach routine must call if_alloc_sadl() themselves (example: gif).
Link level names are freed by if_free_sadl(), which can be called from e.g. ether_ifdetach(). Drivers never need call if_free_sadl() themselves as if_detach() will do it if it is not already done.
While here, add the ability to pass an AF_LINK address to SIOCSIFADDR in ether_ioctl() (this is what caused me to notice the problem that the above fixes).
|
1.66 |
| 15-Jan-2001 |
thorpej | For SLIP/STRIP/PPP, use generic soft interrupts, if available.
|
1.65 |
| 18-Dec-2000 |
thorpej | Fill in if_dlt.
|
1.64 |
| 18-Dec-2000 |
thorpej | Add ALTQ support.
|
1.63 |
| 12-Dec-2000 |
thorpej | Adapt to bpfattach() changes, and further centralize the bpfattach() and bpfdetach() calls into link-type subroutines where possible.
|
1.62 |
| 26-Oct-2000 |
wiz | Fix typo (thinko?), which didn't allow MRU to be set below the default value (instead of the minimum value). Patch supplied by Stephen Degler in PR #9945, and reviewed by Ignatios Souvatzis.
|
1.61 |
| 06-Oct-2000 |
onoe | unique #include opt_inet.h
|
1.60 |
| 04-Oct-2000 |
itojun | need opt_inet.h for #ifdef INET
|
1.59 |
| 02-Oct-2000 |
itojun | enable VJC only with INET
|
1.58 |
| 30-Mar-2000 |
augustss | branches: 1.58.4; Kill some more register declarations.
|
1.57 |
| 23-Mar-2000 |
thorpej | New callout mechanism with two major improvements over the old timeout()/untimeout() API: - Clients supply callout handle storage, thus eliminating problems of resource allocation. - Insertion and removal of callouts is constant time, important as this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
|
1.56 |
| 27-Nov-1999 |
hannken | Fix typo introduced in rev. 1.55. It caused IP6 packets to be sent as AF_UNSPEC instead of AF_INET6.
|
1.55 |
| 30-Jul-1999 |
itojun | branches: 1.55.2; 1.55.8; remove reference to in6_systm.h (file itself will be removed afterwords)
|
1.54 |
| 01-Jul-1999 |
itojun | IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628. (Sorry for a big commit, I can't separate this into several pieces...) Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for details.
- sys/kern: do not assume single mbuf, accept chained mbuf on passing data from userland to kernel (or other way round). - "midway" ATM card: ATM PVC pseudo device support, like those done in ALTQ package (ftp://ftp.csl.sony.co.jp/pub/kjc/). - sys/netinet/tcp*: IPv4/v6 dual stack tcp support. - sys/netinet/{ip6,icmp6}.h, sys/net/pfkeyv2.h: IETF document assumes those file to be there so we patch it up. - sys/netinet: IPsec additions are here and there. - sys/netinet6/*: most of IPv6 code sits here. - sys/netkey: IPsec key management code - dev/pci/pcidevs: regen
In my understanding no code here is subject to export control so it should be safe.
|
1.53 |
| 14-May-1999 |
tron | Fix compilation problem caused by recent changes to filtering code.
|
1.52 |
| 12-May-1999 |
thorpej | Decouple inbound and outbound filters. Now instead of using "active-filter" and "pass-filter" and "inbound" and "outbound" qualifiers in the filter expression, use new "active-filter-in", "active-filter-out", "pass-filter-in", and "pass-filter-out" without these qualifiers.
This is necessary due to the horrible, awful way "inbound" and "outbound" were specified for the filter programs when a packet was passed through them. Basically, the "address" byte in the serial PPP header was overwritten with a value to indicate the direction. However, the "address" byte doesn't even exist on PPP headers for all other PPP encaps! So, this old method worked only for serial encaps, and corrupted packets for all others (PPPoE, ATM, etc.)
|
1.51 |
| 11-May-1999 |
thorpej | * Start out with a data link type of DLT_NULL. When we change an interface to serial encap, change its data link type to DLT_PPP_SERIAL. * Work around some serious bogosity in the filtering code which utterly breaks proper functioning of BPF. The PPP code and pppd(8) WILL be changed to fix this.
|
1.50 |
| 09-Jan-1999 |
thorpej | branches: 1.50.4; 1.50.6; Use M_LINK{0,1} for our own mbuf flags, rather than arbitrarily picking 2 bits.
|
1.49 |
| 10-Dec-1998 |
christos | Revert IPX changes that I committed accidentally.
|
1.48 |
| 10-Dec-1998 |
christos | defopt
|
1.47 |
| 03-Sep-1998 |
christos | branches: 1.47.4; PR/5414: Ronald Khoo: tcpdump ppp does not respect inbound/outbound qualifiers.
|
1.46 |
| 02-Aug-1998 |
sommerfe | Fix PR5898: ppp delays last packet.
|
1.45 |
| 09-Jul-1998 |
thorpej | Glue in fast forwarding.
|
1.44 |
| 08-Jul-1998 |
sommerfe | Only run pppasyncstart (sc->sc_start) from the netisr handler. This allows pppoutput to be called from splimp (e.g., when ipflow is in use.) without requiring pppasyncstart to run at splimp. This is believed to fix PR5624.
|
1.43 |
| 06-Jul-1998 |
jtk | use #ifdef INET so this compiles again
|
1.42 |
| 05-Jul-1998 |
jonathan | defopt INET, NETATALK.
|
1.41 |
| 02-May-1998 |
christos | Merge changes from pppd-2.3.4; adds ppp-deflate-draft stuff and updates zlib. Maybe we can merge our other copy of zlib with this one now and avoid having two copies?
|
1.40 |
| 16-Jun-1997 |
christos | From Paul Mackerras: use sl_compress_setup, not sl_compress_init
|
1.39 |
| 17-May-1997 |
christos | Update to ppp-2.3b5
|
1.38 |
| 16-Apr-1997 |
is | Made pppoutput() public again on behalf of Martin Husemann (PR 3455). Apparently, the BISDN package uses this function.
|
1.37 |
| 12-Mar-1997 |
christos | Update to ppp-2.3b4; from Paul Mackerras
|
1.36 |
| 04-Mar-1997 |
mycroft | Use splimp() to block interrupts, not splhigh().
|
1.35 |
| 13-Oct-1996 |
christos | branches: 1.35.4; backout previous kprintf change
|
1.34 |
| 10-Oct-1996 |
christos | - printf -> kprintf, sprintf -> ksprintf
|
1.33 |
| 13-Jun-1996 |
cgd | no need for a local implementation of SIOCGIFMTU; delete it.
|
1.32 |
| 22-May-1996 |
mycroft | Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and PRU_CONTROL. The usrreq interface really needs to be split up, but this will have to wait. Remove SS_PRIV completely.
|
1.31 |
| 07-May-1996 |
thorpej | branches: 1.31.4; Changed struct ifnet to have a pointer to the softc of the underlying device and a printable "external name" (name + unit number), thus eliminating if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)() to take a struct ifnet *, rather than a unit number.
|
1.30 |
| 19-Mar-1996 |
paulus | Make inclusion of the PPP BSD-Compress and Deflate compressors dependent on the PPP_BSDCOMP and PPP_DEFLATE kernel configuration options, respectively.
|
1.29 |
| 15-Mar-1996 |
paulus | Added packet filtering, support for "PPP Deflate" packet compression, trivial multicast support, and support for xon/xoff output flow control to the PPP subsystem. Fixed several bugs, including making the accumulation and resetting of statistics more consistent. State for the VJ compressor is now dynamically allocated.
|
1.28 |
| 13-Feb-1996 |
christos | Net prototypes
|
1.27 |
| 07-Feb-1996 |
pk | wrt. previous change: can't compute `ilen' that early; just do computation separately when logging. Notes: consider using mbuf pkthdr length field in PPP code. condider doing packet log after de-compression.
|
1.26 |
| 07-Feb-1996 |
pk | Init variable before use (PRs 1646 & 2042).
|
1.25 |
| 27-Dec-1995 |
mycroft | Remove old workaround for a bug.
|
1.24 |
| 05-Oct-1995 |
mycroft | Add some missing statistics. From Thorsten Lockert.
|
1.23 |
| 12-Aug-1995 |
mycroft | splnet --> splsoftnet
|
1.22 |
| 04-Jul-1995 |
paulus | Latest version of PPP stuff, with packet compression and other improvements. The PPP kernel code is now split into if_ppp.c, containing generic PPP support, and ppp_tty.c, which specifically supports PPP on async tty devices (as a line discipline). This is so that other devices can be supported without making them look like ttys.
|
1.21 |
| 08-Mar-1995 |
cgd | fixed sized types, where appropriate. when casting pointers to integers to do math on them, cast to long. ioctl commands are u_longs.
|
1.20 |
| 30-Oct-1994 |
cgd | be more careful with types, also pull in headers where necessary.
|
1.19 |
| 27-Jul-1994 |
deraadt | bug 367. paulus says the fix is right & critical.
|
1.18 |
| 20-Jul-1994 |
paulus | The ppp interface now retries the mbuf allocation when it receives a character and it doesn't already have enough space allocated. It still needs cluster mbufs to be able to decompress VJ-compressed packets. It drops packets if it can't allocate mbufs rather than taking the interface down.
|
1.17 |
| 20-Jul-1994 |
paulus | Due to popular revulsion, the ppp interface now drops packets if
|
1.16 |
| 18-Jul-1994 |
paulus | If we can't get mbuf clusters, take the ppp interface down instead of writing beyond the end of ordinary mbufs.
|
1.15 |
| 03-Jul-1994 |
deraadt | branches: 1.15.2; bug #319. fix from <alasdair@wildcat.demon.co.uk>
|
1.14 |
| 29-Jun-1994 |
cgd | New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
|
1.13 |
| 20-Jun-1994 |
paulus | Some restructuring of the PPP packet input procedure to make it easier to implement PPP over sync lines and PPP compression protocols.
|
1.12 |
| 14-Jun-1994 |
paulus | some minor splx-type bug fixes from christos@deshaw.com.
|
1.11 |
| 29-May-1994 |
paulus | check for escaped char before checking for escape char so if peer escapes 0x5d we interpret it correctly
|
1.10 |
| 24-May-1994 |
cgd | MIN -> min, MAX -> max
|
1.9 |
| 13-May-1994 |
mycroft | Update to 4.4-Lite networking code, with a few local changes.
|
1.8 |
| 08-May-1994 |
paulus | Version from ppp-2.1 release; this version has been restructured to make more of the code usable with sync serial drivers
|
1.7 |
| 25-Jan-1994 |
deraadt | PPP_HEADER_LEN -> PPP_HDRLEN
|
1.6 |
| 23-Dec-1993 |
cgd | include <machine/cpu.h> rather than <machine/mtpr.h> -- if the latter exists at all, it's supposed to be included by <machine/cpu.h>
|
1.5 |
| 18-Dec-1993 |
mycroft | Canonicalize all #includes.
|
1.4 |
| 04-Nov-1993 |
paulus | Removed test (CCOUNT(&sc->sc_ttyp->t_outq) == 0) for whether to call pppstart or not: now we call pppstart for every packet, which should aid recovery from lost transmitter interrupts. Also a fix for 386BSD/FreeBSD which doesn't affect NetBSD.
|
1.3 |
| 02-Sep-1993 |
paulus | branches: 1.3.2; Fixed bug in if_ppp.c so that received IP packets are passed correctly to BPF.
|
1.2 |
| 31-Aug-1993 |
paulus | Modified if_ppp.c and if_ppp.h to add priority queueing for "interactive" traffic (done in a similar fashion to if_sl.c), and BPF support.
|
1.1 |
| 14-Aug-1993 |
deraadt | ppp from paul mackerras
|
1.3.2.4 |
| 14-Nov-1993 |
mycroft | Canonicalize all #includes.
|
1.3.2.3 |
| 27-Oct-1993 |
mycroft | Call pppstart() redundantly.
|
1.3.2.2 |
| 16-Oct-1993 |
mycroft | Nuke references to machine/mtpr.h.
|
1.3.2.1 |
| 24-Sep-1993 |
mycroft | Make all files using spl*() #include cpu.h. Changes from trunk.
|
1.15.2.2 |
| 28-Jul-1994 |
cgd | from trunk
|
1.15.2.1 |
| 20-Jul-1994 |
cgd | update from trunk, to fix serious ppp lossage.
|
1.31.4.1 |
| 11-Dec-1996 |
mycroft | From trunk: Eliminate SS_PRIV; instead, pass down a proc pointer to the usrreq methods that need it. Fix numerous memory leaks and bogus return values.
|
1.35.4.1 |
| 12-Mar-1997 |
is | Merge in changes from The Trunk
|
1.47.4.1 |
| 11-Dec-1998 |
kenh | The beginnings of interface detach support. Still some bugs, but mostly works for me.
This work was originally by Bill Studenmund, and cleaned up by me.
|
1.50.6.2 |
| 30-Nov-1999 |
itojun | bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch just for reference purposes. This commit includes 1.4 -> 1.4.1 sync for kame branch.
The branch does not compile at all (due to the lack of ALTQ and some other source code). Please do not try to modify the branch, this is just for referenre purposes.
synchronization to latest KAME will take place on HEAD branch soon.
|
1.50.6.1 |
| 28-Jun-1999 |
itojun | KAME/NetBSD 1.4 SNAP kit, dated 19990628.
NOTE: this branch (kame) is used just for refernce. this may not compile due to multiple reasons.
|
1.50.4.3 |
| 02-Aug-1999 |
thorpej | Update from trunk.
|
1.50.4.2 |
| 01-Jul-1999 |
thorpej | Sync w/ -current.
|
1.50.4.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.55.8.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.55.2.6 |
| 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.55.2.5 |
| 18-Jan-2001 |
bouyer | Sync with head (for UBC+NFS fixes, mostly).
|
1.55.2.4 |
| 05-Jan-2001 |
bouyer | Sync with HEAD
|
1.55.2.3 |
| 13-Dec-2000 |
bouyer | Sync with HEAD (for UBC fixes).
|
1.55.2.2 |
| 22-Nov-2000 |
bouyer | Sync with HEAD.
|
1.55.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
1.58.4.1 |
| 16-Aug-2001 |
tv | Pullup [jdolecek]:
sys/arch/amiga/dev/grf_cl.c 1.26 sys/arch/amiga/dev/grfioctl.h 1.14 sys/arch/hpcmips/dev/plumvideo.c 1.20 sys/arch/macppc/dev/ofb.c 1.25 sys/arch/sparc/dev/cgtwo.c 1.35 sys/arch/sparc/include/fbio.h patch sys/arch/sparc64/include/fbio.h patch sys/arch/sun3/dev/cg2.c 1.14 sys/arch/sun3/include/fbio.h patch sys/dev/pci/tga.c 1.35 sys/dev/tc/cfb.c 1.28 sys/dev/tc/mfb.c 1.27 sys/dev/tc/sfb.c 1.46 sys/dev/tc/sfbplus.c 1.10 via patch sys/dev/tc/tfb.c 1.30 sys/dev/tc/xcfb.c 1.23 sys/net/if_ppp.c 1.71
Use unsigned variable types to make bounds checking more correct.
|
1.67.2.10 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.67.2.9 |
| 12-Jul-2002 |
nathanw | No longer need to pull in lwp.h; proc.h pulls it in for us.
|
1.67.2.8 |
| 24-Jun-2002 |
nathanw | Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
|
1.67.2.7 |
| 20-Jun-2002 |
nathanw | Catch up to -current.
|
1.67.2.6 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.67.2.5 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.67.2.4 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.67.2.3 |
| 24-Aug-2001 |
nathanw | Catch up with -current.
|
1.67.2.2 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.67.2.1 |
| 05-Mar-2001 |
nathanw | Initial commit of scheduler activations and lightweight process support.
|
1.69.2.8 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.69.2.7 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.69.2.6 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.69.2.5 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.69.2.4 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.69.2.3 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.69.2.2 |
| 25-Aug-2001 |
thorpej | Merge Aug 24 -current into the kqueue branch.
|
1.69.2.1 |
| 03-Aug-2001 |
lukem | update to -current
|
1.77.2.1 |
| 15-Jul-2002 |
gehenna | catch up with -current.
|
1.84.2.8 |
| 11-Dec-2005 |
christos | Sync with head.
|
1.84.2.7 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.84.2.6 |
| 01-Apr-2005 |
skrll | Sync with HEAD.
|
1.84.2.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.84.2.4 |
| 18-Dec-2004 |
skrll | Sync with HEAD.
|
1.84.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.84.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.84.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.95.6.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.95.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.101.8.1 |
| 29-Nov-2005 |
yamt | sync with head.
|
1.101.2.7 |
| 11-Feb-2008 |
yamt | sync with head.
|
1.101.2.6 |
| 21-Jan-2008 |
yamt | sync with head
|
1.101.2.5 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.101.2.4 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.101.2.3 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.101.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.101.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.104.2.1 |
| 15-Jan-2006 |
yamt | sync with head.
|
1.105.10.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.105.8.3 |
| 06-May-2006 |
christos | - Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it.
Approved by core.
|
1.105.8.2 |
| 10-Mar-2006 |
elad | generic_authorize() -> kauth_authorize_generic().
|
1.105.8.1 |
| 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
1.105.6.3 |
| 11-Aug-2006 |
yamt | sync with head
|
1.105.6.2 |
| 26-Jun-2006 |
yamt | sync with head.
|
1.105.6.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.105.4.2 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.105.4.1 |
| 04-Feb-2006 |
simonb | Adapt for timecounters: mostly use get*time(), use bintime's for timeout calculations and use "time_second" instead of "time.tv_sec".
|
1.105.2.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.106.2.1 |
| 19-Jun-2006 |
chap | Sync with head.
|
1.108.6.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.108.6.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.108.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.111.4.2 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.111.4.1 |
| 27-Feb-2007 |
yamt | - sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
|
1.114.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.114.2.6 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.114.2.5 |
| 09-Oct-2007 |
ad | Sync with head.
|
1.114.2.4 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.114.2.3 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.114.2.2 |
| 01-Jul-2007 |
ad | Adapt to callout API change.
|
1.114.2.1 |
| 17-Jun-2007 |
ad | - Increase the number of thread priorities from 128 to 256. How the space is set up is to be revisited. - Implement soft interrupts as kernel threads. A generic implementation is provided, with hooks for fast-path MD code that can run the interrupt threads over the top of other threads executing in the kernel. - Split vnode::v_flag into three fields, depending on how the flag is locked (by the interlock, by the vnode lock, by the file system). - Miscellaneous locking fixes and improvements.
|
1.116.8.3 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.116.8.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.116.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.116.6.2 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.116.6.1 |
| 03-Sep-2007 |
jmcneill | Sync with HEAD.
|
1.116.2.1 |
| 03-Sep-2007 |
skrll | Sync with HEAD.
|
1.117.2.1 |
| 14-Oct-2007 |
yamt | sync with head.
|
1.118.2.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.119.8.1 |
| 08-Jan-2008 |
bouyer | Sync with HEAD
|
1.119.2.1 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.121.8.2 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.121.8.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.121.6.3 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.121.6.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.121.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.122.6.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.122.4.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.122.2.4 |
| 09-Oct-2010 |
yamt | sync with head
|
1.122.2.3 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.122.2.2 |
| 11-Mar-2010 |
yamt | sync with head
|
1.122.2.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.123.4.3 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.123.4.2 |
| 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.123.4.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.123.2.1 |
| 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
1.128.2.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.130.4.3 |
| 21-Apr-2011 |
rmind | sync with head
|
1.130.4.2 |
| 05-Mar-2011 |
rmind | sync with head
|
1.130.4.1 |
| 30-May-2010 |
rmind | sync with head
|
1.130.2.2 |
| 22-Oct-2010 |
uebayasi | Sync with HEAD (-D20101022).
|
1.130.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.132.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.136.12.4 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.136.12.3 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.136.12.2 |
| 25-Feb-2013 |
tls | resync with head
|
1.136.12.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.136.8.1 |
| 31-Oct-2012 |
riz | Pull up following revision(s) (requested by christos in ticket #638): sys/net/if_ppp.c: revision 1.137 sys/netinet6/ip6_flow.c: revision 1.20 sys/net/if_fddisubr.c: revision 1.82 sys/net/if_ethersubr.c: revision 1.192 sys/netinet6/in6_var.h: revision 1.66 sys/net/if_atmsubr.c: revision 1.50 PR/47058: Antti Kantee: If the ipv6 flow code modifies the mbuf, pass the change up to the caller.
|
1.136.2.3 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.136.2.2 |
| 16-Jan-2013 |
yamt | sync with (a bit old) head
|
1.136.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.138.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.141.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.146.4.6 |
| 05-Oct-2016 |
skrll | Sync with HEAD
|
1.146.4.5 |
| 09-Jul-2016 |
skrll | Sync with HEAD
|
1.146.4.4 |
| 29-May-2016 |
skrll | Sync with HEAD
|
1.146.4.3 |
| 22-Apr-2016 |
skrll | Sync with HEAD
|
1.146.4.2 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
1.146.4.1 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.152.2.1 |
| 04-Nov-2016 |
pgoyette | Sync with HEAD
|
1.158.8.2 |
| 11-Jan-2019 |
martin | Pull up following revision(s) (requested by knakahara in ticket #1162):
sys/net/if_ppp.c: revision 1.162 sys/net/if_ppp.c: revision 1.163
Fix missing mutex_exit in ppp_create().
Fix missing splx in ppp_inproc().
|
1.158.8.1 |
| 26-Jul-2018 |
snj | Pull up following revision(s) (requested by msaitoh in ticket #938): sys/arch/acorn32/podulebus/if_ie.c: revision 1.41 sys/arch/amiga/dev/if_es.c: revision 1.58 sys/arch/amiga/dev/if_qn.c: revision 1.45 sys/arch/arm/at91/at91emac.c: revision 1.20 sys/arch/arm/ep93xx/epe.c: revision 1.37 sys/arch/emips/ebus/if_le_ebus.c: revision 1.14 sys/arch/emips/ebus/if_le_ebus.c: revision 1.15 sys/arch/mac68k/dev/if_mc.c: revision 1.46 sys/arch/macppc/dev/am79c950.c: revision 1.39 sys/arch/newsmips/apbus/if_sn.c: revision 1.40 sys/arch/next68k/dev/mb8795.c: revision 1.59 sys/arch/playstation2/dev/if_smap.c: revision 1.25 sys/arch/playstation2/dev/if_smap.c: revision 1.26 sys/arch/sun2/dev/if_ec.c: revision 1.28 sys/arch/sun3/dev/if_ie.c: revision 1.63 sys/arch/x68k/dev/if_ne_intio.c: revision 1.19 sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.75 sys/arch/xen/xen/xennetback_xenbus.c: revision 1.63 sys/dev/bi/if_ni.c: revision 1.45 sys/dev/cadence/if_cemac.c: revision 1.12 sys/dev/ic/am7990.c: revision 1.78 sys/dev/ic/am79900.c: revision 1.27 sys/dev/ic/an.c: revision 1.67 sys/dev/ic/cs89x0.c: revision 1.40 sys/dev/ic/dm9000.c: revision 1.13 sys/dev/ic/dm9000.c: revision 1.14 sys/dev/ic/dp8390.c: revision 1.88 sys/dev/ic/elink3.c: revision 1.141 sys/dev/ic/elinkxl.c: revision 1.122 sys/dev/ic/hme.c: revision 1.98 sys/dev/ic/i82586.c: revision 1.77 sys/dev/ic/lance.c: revision 1.53 sys/dev/ic/mb86950.c: revision 1.27 sys/dev/ic/mb86960.c: revision 1.86 sys/dev/ic/mtd803.c: revision 1.34 sys/dev/ic/pdq_ifsubr.c: revision 1.59 sys/dev/ic/rrunner.c: revision 1.86 sys/dev/ic/seeq8005.c: revision 1.58 sys/dev/ic/sgec.c: revision 1.47 sys/dev/ic/smc90cx6.c: revision 1.72 sys/dev/ic/smc91cxx.c: revision 1.96 sys/dev/ic/tropic.c: revision 1.49 sys/dev/ic/wi.c: revision 1.245 sys/dev/isa/if_eg.c: revision 1.93 sys/dev/isa/if_el.c: revision 1.95 sys/dev/isa/if_iy.c: revision 1.101 sys/dev/ofw/ofnet.c: revision 1.58 sys/dev/pci/if_alc.c: revision 1.27 sys/dev/pci/if_de.c: revision 1.152 sys/dev/pci/if_fpa.c: revision 1.61 sys/dev/pci/if_jme.c: revision 1.34 sys/dev/pci/if_tl.c: revision 1.108 sys/dev/pci/if_vte.c: revision 1.19 sys/dev/pci/ixgbe/ixgbe.h: revision 1.50 sys/dev/pcmcia/if_cnw.c: revision 1.62 sys/dev/pcmcia/if_malo_pcmcia.c: revision 1.17 sys/dev/pcmcia/if_ray.c: revision 1.89 sys/dev/pcmcia/if_xi.c: revision 1.81 sys/dev/pcmcia/mhzc.c: revision 1.51 sys/dev/pcmcia/xirc.c: revision 1.34 sys/dev/qbus/if_de.c: revision 1.33 sys/dev/qbus/if_qe.c: revision 1.78 sys/dev/qbus/if_qt.c: revision 1.22 sys/dev/sbus/be.c: revision 1.87 sys/dev/sbus/qe.c: revision 1.68 sys/dev/scsipi/if_se.c: revision 1.96 sys/dev/usb/if_atu.c: revision 1.59 sys/net/if_l2tp.c: revision 1.28 via patch sys/net/if_ppp.c: revision 1.160 It's not required to include net/bpfdesc.h. Remove it. -- Simplify like other drivers. NULL check of ifp->if_bpf is done in bpf_mtap(), so it's not required to do it here. -- Remove duplicated inclusion of net/bpf.h. -- Remove duplicated inclusion of net/bpf.h. -- Simplify bpf_mtap() call. No functional change.
|
1.159.2.4 |
| 26-Jan-2019 |
pgoyette | Sync with HEAD
|
1.159.2.3 |
| 18-Jan-2019 |
pgoyette | Synch with HEAD
|
1.159.2.2 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.159.2.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
1.161.2.3 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.161.2.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.161.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.166.2.1 |
| 29-Feb-2020 |
ad | Sync with head.
|
1.172.10.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|
1.172.8.2 |
| 16-Nov-2023 |
thorpej | IFQ_CLASSIFY() -> ifq_classify_packet().
|
1.172.8.1 |
| 15-Nov-2023 |
thorpej | Rename ifq_enqueue() -> if_enqueue(), ifq_enqueue2() -> if_enqueue2().
|