summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
2020-07-20Move insertions to `if_list' out of NET_LOCK() because KERNEL_LOCK()mvs
2020-07-17Check destruction ability before search instance of clone interface.mvs
2020-07-10Change users of IFQ_PURGE() to use the "new" API.Patrick Wildt
2020-06-30Add size to free(9) callkn
2020-06-22The interface if_ioctl routine must be called with the NET_LOCK() held.Claudio Jeker
2020-06-22deprecate network livelock detection using the softclock.David Gwynne
2020-06-21add wg(4), an in kernel driver for WireGuard vpn communication.David Gwynne
2020-06-17make ph_flowid in mbufs 16bits by storing whether it's set in csum_flags.David Gwynne
2020-05-29dev/rndvar.h no longer has statistical interfaces (removed during variousTheo de Raadt
2020-05-27Document the various flavors of NET_LOCK() and rename the reader version.Martin Pieuchot
2020-05-26Extract more randomness from mbuf flowVisa Hankala
2020-04-12make ifpromisc assert that the caller is holding the NET_LOCK.David Gwynne
2020-04-11Grab the exclusive NET_LOCK() in the softnet thread.Martin Pieuchot
2020-03-10Properly exit loop at end of hooks TAILQ.tobhe
2020-01-24cleanup unused headers generated by configJonathan Gray
2019-11-14avoid a use after free in if_delgroup.David Gwynne
2019-11-13Non root user must not use ioctl(2) to mess around with the addressAlexander Bluhm
2019-11-13unbreak ramdisksTheo de Raadt
2019-11-12check for privileged bridges ioctls next to the other privileged ioctls.David Gwynne
2019-11-12SIOCDVNETID mutates state, so should only be run by root.David Gwynne
2019-11-11add linkstate hooks at the head of the tailq.David Gwynne
2019-11-09whitespace fixes, no functional change.David Gwynne
2019-11-08convert interface address change hooks to tasks and a task_list.David Gwynne
2019-11-07serialise hook adds and dels with a mutex instead of an implicit NET_LOCK.David Gwynne
2019-11-07turn the linkstate hooks into a task list, like the detach hooks.David Gwynne
2019-11-06replace the hooks used with if_detachhooks with a task list.David Gwynne
2019-08-21 Remove support for semantically opace interface identifiers (RFC 7217)Florian Obser
2019-08-06When we needed the kernel lock for local IP packet delivery, mpi@Alexander Bluhm
2019-06-30if_vinput should pass BPF_DIRECTION_IN to bpf_mtap, not OUTDavid Gwynne
2019-06-15Free sizes for hooks and `if_sadl'.Martin Pieuchot
2019-06-04if_netisr(): trade NET_LOCK() for NET_RLOCK()Alexandr Nedvedicky
2019-05-12pushing NET_LOCK() further down from if_clone_{create,destroy}()Alexandr Nedvedicky
2019-05-11Correct a check in if_isconnected().Martin Pieuchot
2019-04-28Removes the KERNEL_LOCK() from bridge(4)'s output fast-path.Martin Pieuchot
2019-04-22add if_vinput so pseudo (ethernet) interfaces can bypass ifiqsDavid Gwynne
2019-04-22factor out calling the if input handlers for a packet.David Gwynne
2019-04-19provide factored out txhprio and rxhprio checksDavid Gwynne
2019-04-19only root can change rxprioDavid Gwynne
2019-04-16have another go at tx mitigationDavid Gwynne
2019-04-14don't take splnet when running the network stackDavid Gwynne
2019-04-10do custom checks for SIOCGIFSFFPAGE.David Gwynne
2019-03-01rework how ifiq_input decides the stack is busy and whether it should dropDavid Gwynne
2019-02-26check for root on mpls and pwe3 ioctlsDavid Gwynne
2019-01-09split if_enqueue up so drivers can replace ifq handling if neededDavid Gwynne
2018-12-20Make this not hz dependent by using timeout_add_sec() also rename theClaudio Jeker
2018-12-11add optional per-cpu counters for interface stats.David Gwynne
2018-11-29restrict setting ecn to rootDavid Gwynne
2018-11-12only let root configure the txprio setting on an interfaceDavid Gwynne
2018-10-01Put bridge_input & output back under the KERNEL_LOCK().Martin Pieuchot
2018-09-26Move bridge input/output paths outside of the KERNEL_LOCK().Martin Pieuchot