Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-28 | rename some fields | Mike Larkin | |
2017-05-28 | fix broken include on previous pipex commit | Mike Larkin | |
ok deraadt | |||
2017-05-28 | Process packets immediately without queuing since pipex is believed MP safe | YASUOKA Masahiko | |
already, for PPPoE case as first step. ok mpi | |||
2017-05-28 | typo in comment | Mike Larkin | |
2017-05-28 | Check also whether the interfaces is matched when pipex check PPPoE | YASUOKA Masahiko | |
packets. This fixes the problem when pipex connects with pppoe(4) through pair(4). | |||
2017-05-28 | Use interface index and if_{put,get} instead of ifnet pointer. | YASUOKA Masahiko | |
2017-05-28 | Use interface index instead of ifnet pointer. | YASUOKA Masahiko | |
2017-05-28 | Do not allow NULL callback at rendezvous and clear callback | Visa Hankala | |
pointer at the end to catch errors faster. | |||
2017-05-28 | Limit the nested header chain for IPv6 extensions headers and for | Alexander Bluhm | |
authentication headers in the IPv4 case. This prevents spending excessive cpu time on crafted packets. OK henning@ | |||
2017-05-28 | Fix bad white spaces, wrap long lines, kill some empty lines. | Alexander Bluhm | |
2017-05-28 | Use fast path if remote call is not needed. | Visa Hankala | |
Note that rendezvous calls are no longer necessarily serialized systemwide. | |||
2017-05-28 | Remove a redundant assignment introduced in revision 1.219 but favor the | anton | |
assignment outside of the conditional. ok stsp@ | |||
2017-05-28 | mips64_multicast_ipi() excludes current CPU. | Visa Hankala | |
The caller does not have to do that. | |||
2017-05-28 | Add missing NET_UNLOCK() in error path. | Martin Pieuchot | |
Spotted by sashan@ | |||
2017-05-28 | Pf was handling IPv4 and IPv6 differently regarding AH extension | Alexander Bluhm | |
headers. pf_walk_header6() steps over it and detects the real protocol. So to implement a minimal header walking function pf_walk_header() for IPv4. It does the header checks and jumps over AH. Then pf does not understand AH as a protocol, it is just an extension that authenticates the packet. Move some header and option checks to pf_walk_header() for consistency with IPv6. This also improves the header check for IPv4 packets in ICMP payload. OK henning@ | |||
2017-05-28 | trunk_port_destroy() needs the NET_LOCK(). | Martin Pieuchot | |
It brings the interface down and restore the original lladdr. Found by Hrvoje Popovski | |||
2017-05-28 | If a function is not found in the CTF data, do not assume it takes no | Martin Pieuchot | |
argument. | |||
2017-05-28 | Call bpf_mtap_af() a bit earlier in ipip_input(). This prepares | Alexander Bluhm | |
upcoming diffs, no functional change. OK mpi@ | |||
2017-05-28 | Build i386 kernels with -ffreestanding, matching amd64 and various | Jonathan Gray | |
other platforms. ok visa@ kettenis@ | |||
2017-05-28 | Remove all splnet/splx from pipex(4) and pppx(4) and replace some of | YASUOKA Masahiko | |
them by NET_LOCK/NET_UNLOCK. Also make the timeout for pipex_timer run with a thread context and replace pipex softintr by NETISR_PIPEX. ok mpi | |||
2017-05-28 | Leaving IP multicast group requires the NET_LOCK(). | Martin Pieuchot | |
Grab the lock before calling carpdetach(). ok bluhm@ | |||
2017-05-28 | clang warns on unused labels. Place a recently introduced label under | Jonathan Gray | |
ifdef IPSEC to fix the clang build when IPSEC is not defined. ok deraadt@ bluhm@ | |||
2017-05-28 | Merge two functions to lookup ELF sections by name. | Martin Pieuchot | |
ok claudio@, jasper@ | |||
2017-05-28 | Fix some spurious fatal firmware errors in iwm(4). | Stefan Sperling | |
If we are not in SCAN state anymore by the time hardware signals completion of a scan command, exit the scan completion handler immediately instead of calling ieee80211_end_scan(). Tested by tb@ and myself. ok mpi@ tb@ zhuk@ | |||
2017-05-28 | Remove unused flag IWM_FLAG_STOPPED. | Stefan Sperling | |
ok tedu@ of course | |||
2017-05-28 | Remove useless splnet()/splx() dances. | Martin Pieuchot | |
Data structures modified in the ioctl path are protected by the NET_LOCK(). ok sashan@ | |||
2017-05-28 | Protect the global array of interfaces with the NET_LOCK(). | Martin Pieuchot | |
ok sashan@ | |||
2017-05-28 | Rename ip_local() to ip_deliver() and give it the same parameters | Alexander Bluhm | |
as the pr_input functions. Add an assert that IPv4 delivery ends in IP proto done to assure that IPv4 protocol functions work like IPv6. OK mpi@ | |||
2017-05-28 | Use intr_disable()/intr_restore() to reduce differences with sparc64 | Martin Pieuchot | |
mp_lock. ok kettenis@, visa@ | |||
2017-05-28 | remove bogus atomic_swap_64 code from i386 | Jonathan Gray | |
xchg can't handle 64 bit values on i386. gcc errors if the code is called, clang errors if it is included. ok mlarkin@ kettenis@ | |||
2017-05-27 | Fix the carp mode 'balancing ip-stealth'. Set the link state UP | Alexander Bluhm | |
if at least one vhid is in state MASTER. from Florian Riehm; OK florian@ | |||
2017-05-27 | fix previous as noted by mpi, thx florian | Sebastian Benoit | |
2017-05-27 | move sending of pflow packet into a task, seperated from the data | Sebastian Benoit | |
collection by a mbuf queue. with help from mpi@ ok florian@ | |||
2017-05-27 | On i386 and amd64, atomic instructions include an implicit memory barrier. | Mark Kettenis | |
ok mikeb@, visa@, mpi@ | |||
2017-05-27 | Add membar_enter_after_atomic(9) and membar_exit_before_atomic(9) APIs to | Mark Kettenis | |
allow important optimizations on architectures where atomic instructions include and implied memory barrier. ok mikeb@, visa@, mpi@ | |||
2017-05-27 | nvme: Don't set prp1 for DEL_IOCQ | Stefan Fritsch | |
NVM_ADMIN_DEL_IOCQ does not need prp1 (just as NVM_ADMIN_DEL_IOSQ). Remove what is likely a cut'n'paste error from the *_ADD_* code. tested by claudio@ ok jmatthew@ | |||
2017-05-27 | Push the NET_LOCK down into PF_KEY so that it can be treated like PF_ROUTE. | Claudio Jeker | |
Only pfkeyv2_send() needs the NET_LOCK() so grab it at the start and release at the end. This should allow to push the locks down in other places. OK mpi@, bluhm@ | |||
2017-05-27 | Protect the global list of softc with the NET_LOCK(). | Martin Pieuchot | |
ok sashan@ | |||
2017-05-27 | Protect the global list of softc with the NET_LOCK(). | Martin Pieuchot | |
While here remove superfluous splnet()/splx() in the ioctl routine. ok sashan@ | |||
2017-05-27 | Remove useless splnet()/splx() dances. | Martin Pieuchot | |
pfsyncioctl() is executed with the NET_LOCK() held which is enough. ok sashan@ | |||
2017-05-27 | Use copyin32(9) to atomically copy the futex from user space. | Mark Kettenis | |
On !MULTIPROCESSOR kernels we still fall back on copyin(9), but that is fine. This will break m88k MULTIPROCESSOR kernels. ok deraadt@, mpi@, visa@ | |||
2017-05-27 | Put an assert that M_PKTHDR is set before accessing m_pkthdr in the | Alexander Bluhm | |
mbuf functions. OK claudio@ | |||
2017-05-27 | Make ddb print again filename and linenumber if a bsd.gdb was loaded. | Claudio Jeker | |
mpi@ agrees that this is correct. | |||
2017-05-27 | move sha224_initial_hash_value[] under !SHA2_SMALL; ok deraadt@ millert@ | Christian Weisgerber | |
2017-05-27 | Move SPINLOCK_SPIN_HOOK to the header used by other archs in order to | Martin Pieuchot | |
prepare the terrain for MI locks. ok kettenis@ | |||
2017-05-27 | Spring cleanup: | Martin Pieuchot | |
- Cache the string table pointer - Unify return statements - Use the end of the symbol table rather than counting symbols | |||
2017-05-27 | Implement copyin32(9) for alpha. | Mark Kettenis | |
2017-05-27 | remove #ifdef HIBERNATE section that declares stuff that lives in ahci.c | Jonathan Matthew | |
2017-05-27 | nvme: Add suspend/resume code | Stefan Fritsch | |
Based on an initial patch by ehrhardt@ . Thanks to claudio@ for testing and deraadt@ for advice. "go ahead" deraadt@ | |||
2017-05-27 | Use rn_inithead() instead of rn_inithead0(). Since rn_inithead0() | YASUOKA Masahiko | |
doesn't trigger rn_initmask() and first session had caused panics. Reported by VOblezov at mtsbank.ru. |