summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Expand)Author
2018-07-10Introduce new IPsec (per-CPU) statistics and refactor ESP inputMartin Pieuchot
2018-07-10Remove DELAY(1000) from carp_send_arp() / carp_send_na() since it is not clearfriehm
2018-07-05It was possible to leak the control mbuf in raw ip user requestAlexander Bluhm
2018-07-04Prevent a mbuf double free by not freeing it along the error-path inanton
2018-06-25Assert that the NET_LOCK() is held when iterating over `ipsec_acquire_head'.Martin Pieuchot
2018-06-14In in_pcballoc() finish the inp initialization before adding it toAlexander Bluhm
2018-06-14Assert that the INP_IPV6 in in6_pcbconnect() is correct. Just callAlexander Bluhm
2018-06-14Use mbuf (not cluster) always for t_template of tcpcb.YASUOKA Masahiko
2018-06-11Fix RAMDISK build by removing an #ifdef INET6 in tcp_trace().Alexander Bluhm
2018-06-11Do not unlock the KERNEL_LOCK() unconditionally in sounlock().Martin Pieuchot
2018-06-11Push the KERNEL_LOCK() inside route_input().Martin Pieuchot
2018-06-11The output from tcp debug sockets was incomplete. After detach tpAlexander Bluhm
2018-06-08The udp control option processing was implemented three times.Alexander Bluhm
2018-06-07The global zero addresses must not change, mark them constant.Alexander Bluhm
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2018-06-04Cleanup IPsec output error handling with consistent goto drop.Alexander Bluhm
2018-06-03Use variable names for rtable and rdomain consistently in the in_pcbAlexander Bluhm
2018-06-03Rename the incpb table field inpt_hash to inpt_mask as it containsAlexander Bluhm
2018-06-03SIOCSIFNETMASK takes a 'struct ifreq', so use 'ifr' for it and drop theTheo Buehler
2018-06-03Better version of the refactoring attempted in r1.154. Move SIOCSIFADDRTheo Buehler
2018-06-02Move the declarations of the raw ip and ip6 pcb tables into theAlexander Bluhm
2018-06-02Cleanup the in_pcbnotifymiss diagnostic printfs. Always print theAlexander Bluhm
2018-06-02The function in_pcbrehash() does not modify the pcb table queue.Alexander Bluhm
2018-05-31zap trailing whitespaceTheo Buehler
2018-05-31Re-commit the correct half of revision 1.154:Theo Buehler
2018-05-31Back out previous. The handling of SIOCSIFADDR is now wrong.Theo Buehler
2018-05-31Some more code shuffling to get rid of one switch in each, in_ioctl()Theo Buehler
2018-05-28Next step in disentangling the switches in in_ioctl(). Split out theTheo Buehler
2018-05-25Prepare in_ioctl() for further refactoring with the goal of merging theTheo Buehler
2018-05-21All places that call carp_lsdrop() use the interface pointer already.Alexander Bluhm
2018-05-19Introduce a tdb_reaper() function to prevent a use-after-free when aMartin Pieuchot
2018-05-16Fix kernel builds without IPSEC.Reyk Floeter
2018-05-14When checking the IPsec enable sysctls, ipsec_common_input() hadAlexander Bluhm
2018-05-14When walking the IPv6 header chain in IPsec output, check that theAlexander Bluhm
2018-05-12Cleanup IPsec common input error handling with consistent goto drop.Alexander Bluhm
2018-05-12Cleanup IPsec IPComp error handling with consistent goto drop.Alexander Bluhm
2018-05-10TCP debug sockets still had code for old TCP timers that wereAlexander Bluhm
2018-05-09Cleanup IPsec ESP error handling with consistent goto drop.Alexander Bluhm
2018-05-09Cleanup IPsec AH error handling with consistent goto drop.Alexander Bluhm
2018-05-08Historically there were slow and fast tcp timeouts. That is whyAlexander Bluhm
2018-05-02Do not assume that mbufs within a chain do not have M_PKTHDR set.Alexander Bluhm
2018-05-02Split out the handling of SIOCGIF* into a new function, in_ioctl_get(),Theo Buehler
2018-04-30Reduce the scope of the NET_LOCK() in in_control(). Two functions wereTheo Buehler
2018-04-24Make the ramdisks compile again, we don't have MROUTING on them.Florian Obser
2018-04-24Push NET_LOCK down in the default ifioctl case.Paul Irofti
2018-04-06Use the existing pf state to speed up UDP socket lookup. This wasAlexander Bluhm
2018-04-02Use memcpy on freshly allocated memory and add the free size.David Hill
2018-03-31When reusing an mbuf to send an ARP response, don't forget to clearStefan Sperling
2018-03-30Store the allocation size in inpcbhead for free().David Hill
2018-03-21The function carp_prepare_ad() never fails. The error handling inAlexander Bluhm