summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_divert.c
AgeCommit message (Expand)Author
2019-02-04Avoid an mbuf double free in the oob soreceive() path. In theAlexander Bluhm
2018-10-04Revert the inpcb table mutex commit. It triggers a witness panicAlexander Bluhm
2018-09-20As a step towards per inpcb or socket locks, remove the net lockAlexander Bluhm
2018-04-24Push NET_LOCK down in the default ifioctl case.Paul Irofti
2017-11-02Move PRU_DETACH out of pr_usrreq into per proto pr_detachFlorian Obser
2017-10-09Reduces the scope of the NET_LOCK() in sysctl(2) path.Martin Pieuchot
2017-10-06Unfortunately I removed too much in my previous commit and brokeAlexander Bluhm
2017-10-06Kill the divert-packet socket option IP_DIVERTFL to filter packets.Alexander Bluhm
2017-09-06Replace the call to ifa_ifwithaddr() in divert6_output() with aAlexander Bluhm
2017-09-05Replace NET_ASSERT_LOCKED() by soassertlocked() in *_usrreq().Martin Pieuchot
2017-07-27Grab the KERNEL_LOCK() before calling sorwakeup().Martin Pieuchot
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-05-30Introduce ipv{4,6}_input(), two wrappers around IP queues.Martin Pieuchot
2017-03-13Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.Claudio Jeker
2017-02-09percpu counters for divert(4) statsJeremie Courreges-Anglas
2017-01-29Change the IPv4 pr_input function to the way IPv6 is implemented,Alexander Bluhm
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-21Enforce that pr_usrreq functions are called at IPL_SOFTNET.Martin Pieuchot
2016-03-29remove dead stores and unused variablesCharles Longeau
2016-03-23Merge in_pcbbind() and in6_pcbbind(), and change every call toVincent Gross
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2015-09-11Kill yet another argument to functions in IPv6. This time ip6_output'sClaudio Jeker
2015-09-10Another trivial if_put addition. OK dlg@Claudio Jeker
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-08More damned eye searing whitespace. No change to .o files.Kenneth R Westerback
2015-04-10replace the use of ifqueues for most input queues serviced by netisrDavid Gwynne
2015-01-24Userland (base & ports) was adapted to always include <netinet/in.h>Theo de Raadt
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-09-08remove uneeded route.h includesJonathan Gray
2014-08-10Rename p_hdrlen to min_hdrlen to better reflect its purpose.Lawrence Teo
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12Remove the redundant csum_flag variable and just set the checksum flagLawrence Teo
2014-07-12Protocol checksums have been recalculated on reinjection for a whileLawrence Teo
2014-07-12Implement checksum offload for divert(4): simply set the checksum flagLawrence Teo
2014-07-10Simplify the way divert(4) sends packets to userspace: Instead ofLawrence Teo
2014-04-28sync bzero => memset that was done for ip_divert.c before.Reyk Floeter
2014-04-23No need for vargs here.Florian Obser
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2014-04-07Retire kernel support for SO_DONTROUTE, this time without breakingMartin Pieuchot
2014-03-28revert "Retire kernel support for SO_DONTROUTE" diff, which does bad thingsStuart Henderson
2014-03-27Retire kernel support for SO_DONTROUTE, since the plan is to alwaysMartin Pieuchot
2013-12-20Switch inpt_queue from CIRCLEQ to TAILQ. Thus ending use of CIRCLEQKenneth R Westerback
2013-11-22Remove unused proc argument in in6_control().Martin Pieuchot
2013-11-15Rename the struct pf_divert variable in divert_packet() andLawrence Teo
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
2013-06-26put the cksum diff back, of course with the bug fixed where we couldHenning Brauer
2013-05-31Remove a bunch of sockaddr_in6 pointer casts and replace othersAlexander Bluhm
2013-04-08Recalculate the IP and protocol checksums of packets (re)injected viaLawrence Teo
2013-04-02Use macros sotoinpcb() and intotcpcb() instead of casts. Use NULLAlexander Bluhm