summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_carp.c
AgeCommit message (Expand)Author
2020-04-29remove some trailing whitespace. no functional change.David Gwynne
2019-11-08void being too clever about setting/clearing ifpromisc on the parent.David Gwynne
2019-11-08convert interface address change hooks to tasks and a task_list.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-06-10Use mallocarray(9) & put some free(9) sizes for M_IPMOPTS allocations.Martin Pieuchot
2019-04-23a first cut at converting some virtual ethernet interfaces to if_vinputDavid Gwynne
2018-12-17Switch from timeout_add with tvtohz to just timeout_add_tv. Now this changeClaudio Jeker
2018-12-04Use m_align() and while there reorder the pkthdr initalisation a bit.Claudio Jeker
2018-09-24Turn carp_ourether() mp-safe, this is a requirement for taking bridge(4)Martin Pieuchot
2018-07-10Remove DELAY(1000) from carp_send_arp() / carp_send_na() since it is not clearfriehm
2018-05-21All places that call carp_lsdrop() use the interface pointer already.Alexander Bluhm
2018-03-21The function carp_prepare_ad() never fails. The error handling inAlexander Bluhm
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-07Unbreak carp(4) MAC check in bridge_process().Martin Pieuchot
2018-01-25Use a workaround for detached parent in carp_proto_input_c().Martin Pieuchot
2018-01-12have carp use standard detach hooks instead of getting special handlingDavid Gwynne
2018-01-12unbreak configurations using carppeersDavid Gwynne
2018-01-12restrict carp to configuring ethernet interfaces as carpdevs.David Gwynne
2018-01-11carp_ourether gets passed the parent interface, not the carp interface.David Gwynne
2018-01-10get rid of struct carp_if by moving the srpl into struct ifnet if_carp.David Gwynne
2018-01-10simplify the input interface type check in carp_proto_input_if.David Gwynne
2018-01-09Creating a cloned interface could return ENOMEM due to temporaryAlexander Bluhm
2017-11-23Replace non mp-safe carp_iamatch6() with mp-safe carp_iamatch().Martin Pieuchot
2017-11-21Move the addrhook disestablish from carpdetach() to carp_clone_destroy()Patrick Wildt
2017-11-20Sprinkle some NET_ASSERT_LOCKED(), const and co to prepare runningMartin Pieuchot
2017-10-16Handle the case where the parent of a carp(4) is being destroyedMartin Pieuchot
2017-10-09Reduces the scope of the NET_LOCK() in sysctl(2) path.Martin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-06-22Fix the remaining ';;'s in sys/Tom Cosgrove
2017-06-19When dealing with mbuf pointers passed down as function parameters,Alexander Bluhm
2017-05-30Carp balancing ip does not work since there is a mac filter infriehm
2017-05-28Leaving IP multicast group requires the NET_LOCK().Martin Pieuchot
2017-05-27Fix the carp mode 'balancing ip-stealth'. Set the link state UPAlexander Bluhm
2017-05-04If m is not a continuous mbuf cluster, m_pullup() in pr_input mayAlexander Bluhm
2017-04-14Pass down the address family through the pr_input calls. ThisAlexander Bluhm
2017-04-11Partially revert previous mallocarray conversions that containDavid Hill
2017-04-09Use mallocarray to allocate multicast group memberships.David Hill
2017-04-05When building counter memory in preparation to copy to userland, alwaysTheo de Raadt
2017-03-23Replace manual loop with SRPL_FOREACH_SAFE_LOCKED macro.Alexander Bluhm
2017-03-17carp(4) code is always executed in the 'softnet' thread, so removeMartin Pieuchot
2017-02-20carp(4) percpu countersJeremie Courreges-Anglas
2017-01-29Change the IPv4 pr_input function to the way IPv6 is implemented,Alexander Bluhm
2017-01-25Since raw_input() and route_input() are gone from pr_input, we canAlexander Bluhm
2017-01-23Flag pseudo-interfaces as such in order to call add_net_randomness()Martin Pieuchot
2016-12-20Prevent grabing the NET_LOCK() twice in the ioctl(2) and input path.Martin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-20Rename SRPL_ENTER() to SRPL_FIRST() and SRPL_NEXT() to SRPL_FOLLOW().Martin Pieuchot
2016-10-25Accept CARP advertisement packets whose destination is not for multicast.YASUOKA Masahiko
2016-10-04Convert timeouts that need a process context to timeout_set_proc(9).Martin Pieuchot