summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2020-04-20Don't return stack garbage even if it is going to beKenneth R Westerback
2020-04-19fix insufficient input sanitization in pf_rulecopyin() and pf_pool_copyin()Alexandr Nedvedicky
2020-04-18Use MHLEN for the space size of mbuf header. This fixes the panicYASUOKA Masahiko
2020-04-15Do not delete an existing RTF_CACHED entry with the same destinationMartin Pieuchot
2020-04-12Stop processing packets under non-exclusive (read) netlock.Martin Pieuchot
2020-04-12make ifpromisc assert that the caller is holding the NET_LOCK.David Gwynne
2020-04-12say if_pcount needs NET_LOCK instead of the kernel lock.David Gwynne
2020-04-12take NET_LOCK in aggr_clone_destroy() before calling aggr_p_dtor()David Gwynne
2020-04-12take NET_LOCK in tpmr_clone_destroy() before calling tpmr_p_dtor()David Gwynne
2020-04-12ifpromisc() requires NET_LOCK(), so acquire the lock when changingVisa Hankala
2020-04-11log() lines need \n too.David Gwynne
2020-04-11Avoid triggering KASSERT for bogus reason in pfsync_sendout with PFSYNC_DEBUG.Stefan Sperling
2020-04-11Grab the exclusive NET_LOCK() in the softnet thread.Martin Pieuchot
2020-04-11fix build with PFSYNC_DEBUG by switching a format string from %d to %zdStefan Sperling
2020-04-10Typo in comment.Martin Pieuchot
2020-04-10Place the 64bit key on the stack instead of malloc(9)in' it in pppx_if_find().Martin Pieuchot
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-04-07Deny to create a pipex session if the session id already exists.Claudio Jeker
2020-04-07Remove superfluous NULL check from allocation with PR_WAITOK.Martin Pieuchot
2020-04-06use LIST_FOERACH_SAFE() instead of manual rolling the loop.Claudio Jeker
2020-04-06Pass struct pipex_iface_context pointer down to pipex ioctl functions.Claudio Jeker
2020-04-04Prevent the destruction of a session owned by another interface.Martin Pieuchot
2020-04-01Disallow session timeout on pppx(4).Martin Pieuchot
2020-03-26Unify #ifdef guarding code to remove PPTP and L2TP sessions.Martin Pieuchot
2020-03-25Grab the NET_LOCK() before calling pipex_iface_stop().Martin Pieuchot
2020-03-24Remove redundant 'NULL' check for 'rtm'.tobhe
2020-03-21r1.244 introduced rt_hash() with careful checks of src for NULL atKenneth R Westerback
2020-03-18Plug mem leak in SADB_REGISTER.Martin Pieuchot
2020-03-11properly limit indexing into the aggr_periodic_times array.David Gwynne
2020-03-10The return value of rt_ifa_purge() is ignored, so stopKenneth R Westerback
2020-03-10Properly exit loop at end of hooks TAILQ.tobhe
2020-03-10Make sure return value 'error' is initialized to '0'.tobhe
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-02-18pppx(4): rwsleep(9) -> rwsleep_nsec(9); ok claudio@cheloha
2020-02-18Cleanup <sys/kthread.h> and <sys/proc.h> includes.Martin Pieuchot
2020-02-15Remove needless #ifdef.YASUOKA Masahiko
2020-02-14Push the KERNEL_LOCK() insidge pgsigio() and selwakeup().Martin Pieuchot
2020-02-01replace vlan instance SRP lists with SMR_SLISTsJonathan Matthew
2020-01-31actually set the link state down when the /dev entry is closed.David Gwynne
2020-01-30device poll handlers should return POLL flags, not errnos.David Gwynne
2020-01-28Simplify filterops routines where klist_invalidate() is used.Visa Hankala
2020-01-27update bpf_iflist in bpfsdetach instead of bpfdetach as some driversJoshua Stein
2020-01-27add some comments to tun_destroy, and try be a bit more paranoid.David Gwynne
2020-01-25move the SMR_LIST_REMOVE and smr_barrier up in tun_clone_destroy.David Gwynne
2020-01-25tweaks sleeping for an mbuf so it's more mpsafe.David Gwynne
2020-01-25use SMRs to find the right tun_softc on syscall entries.David Gwynne
2020-01-25rework the driver to better manage lifetimes and device lifetimes.David Gwynne
2020-01-24add pf.h include for NPF > 0 use added in rev 1.71Jonathan Gray
2020-01-24cleanup unused headers generated by configJonathan Gray
2020-01-24move to if_vinput() in tun_dev_write.David Gwynne