| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
ok claudio
|
| |
|
|
|
|
| |
ok canacar@
|
|
|
|
|
|
|
|
| |
Malicious PPPoE discovery packets could cause the kernel to
crash.
From canacar@ and inspired by the original fix from NetBSD.
ok canacar@
|
|
|
|
|
|
| |
unused mbuf pointer.
OK claudio@
|
|
|
|
|
|
|
|
|
| |
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
|
|
| |
ok dlg@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it by reading the queues head pointer. if that pointer is not null
then it takes splnet and dequeues a packet for handling. this is
bad because the ifqueue head is modified at splnet and the sofnet
handlers read it without holding splnet.
this removes that check of the head pointer and simply checks if
the dequeue gave us a packet or not before proceeding.
found while reading mpls code.
discussed with norby@ and henning@
ok mcbride@ henning@
|
|
|
|
|
|
|
|
|
| |
connected Ethernet/VLAN interface.
From NetBSD
Tested by brad@ sthen@
ok canacar@
|
|
|
|
| |
modified. Better save than sorry. OK canacar@
|
|
|
|
| |
instead. OK canacar@
|
|
|
|
|
|
|
|
| |
or VLAN interfaces.
Based on a similar change from NetBSD.
ok canacar@
|
|
|
|
|
| |
Reported and tested by Zach Wilkinson
ok brad@, claudio@
|
|
|
|
|
|
|
|
|
| |
receiving PPPoE packets but without any PPPoE interfaces
setup.
From mickey@ via PR 5713.
ok canacar@ claudio@ dlg@
|
|
|
|
|
|
|
| |
-remove useless casts
-MALLOC/FREE -> malloc/free
-use M_ZERO where appropriate instead of seperate bzero
feedback & ok krw, hshoexer
|
|
|
|
| |
ok dlg claudio
|
| |
|
|
|
|
| |
splnet/IF_DEQUEUE/splx; ok various people
|
|
|
|
|
|
|
| |
Also cleanup error message device name printing.
Based on diff from NetBSD via Andrey Matveev
Also, use log when printing error messages, and syslog will
handle any nonprintable characters, discussed with deraadt@
|
|
|
|
|
| |
outbound), using a new BIOCSDIRFILT ioctl;
guidance, feedback and ok canacar@
|
|
|
|
|
|
| |
the remainder of the network stack from splimp to splnet.
ok miod@
|
|
|
|
| |
ok brad@
|
|
|
|
| |
the address of the softc. Reported by Peter Phillip via PR-4501.
|
|
|
|
|
| |
do not try to check debug status of a
non existing interface in server mode.
|
|
|
|
| |
ok deraadt@, henning@, krw@
|
|
|
|
| |
ok canacar markus millert
|
|
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@
|