summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_carp.c
AgeCommit message (Expand)Author
2021-02-08Start refcounting interface groups with 1. if_creategroup() returnsAlexander Bluhm
2021-01-21carp(4): convert ifunit() to if_unit(9)mvs
2021-01-04- fix use after free, when packet gets dropped.Alexandr Nedvedicky
2020-07-28Don't treat an error if carppeer is an unicast and the peer is down.YASUOKA Masahiko
2020-07-28After the previous commit, src/regress/sys/netinet/carp triggeredAlexander Bluhm
2020-07-24Use interface index instead of pointer to `ifnet' in carp(4).mvs
2020-07-22move carp_input into ether_input, instead of via an input handler.David Gwynne
2020-05-21don't count packets in the carp protocol handling against an interface.David Gwynne
2020-05-21implement a carp_transmit that bypasses the ifq on output.David Gwynne
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