summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_input.c
AgeCommit message (Expand)Author
2020-09-13Pull up following revision(s) (requested by kardel in ticket #1081):martin
2020-09-03Pull up following revision(s) (requested by kardel in ticket #1074):martin
2020-07-07Pull up following revision(s) (requested by christos in ticket #985):martin
2019-09-10Pull up following revision(s) (requested by maxv in ticket #193):martin
2019-06-01Replace potentially misaligned pointer dereference + htonl() with be32dec()kamil
2018-11-08"s/ an an / an /" in comment. No functional change.msaitoh
2018-09-14Use non-variadic function pointer in protosw::pr_input.maxv
2018-09-14rename toff -> offmaxv
2018-09-14rename off -> thlenmaxv
2018-09-03Rename min/max -> uimin/uimax for better honesty.riastradh
2018-05-18IP6_EXTHDR_GET -> M_REGION_GET, no functional change.maxv
2018-05-03Remove now unused tcpip.h includes. Some were already unused before.maxv
2018-04-28Remove unused ipsec_var.h includes.maxv
2018-04-08Remove the ipre_mlast field and the TRAVERSE macro.maxv
2018-04-03Remove ipsec_copy_policy and ipsec_copy_pcbpolicy. No functional change,maxv
2018-03-30Fix the log. mtod never returns NULL, so 'ip' is always non-NULL, and themaxv
2018-03-30Use consttime_memequal instead of memcmp, to prevent side channels. Thismaxv
2018-03-29tcp_urp_drop: fix a bug introduced in 1.390 rev (hi maxv@).rmind
2018-03-29Remove TCPREASS_DEBUG. It was introduced 20 years ago when the reassemblermaxv
2018-03-29Reorder/Fix comments to clarify.maxv
2018-03-29Remove two more 'else' branches.maxv
2018-03-29Fix memory leak, we may reallocate 'tcp_saveti' after 'findpcb'. It's notmaxv
2018-03-29Remove 'else', makes it clearer that we leave.maxv
2018-03-29Clarify with KASSERT.maxv
2018-03-29Simplify the computation:maxv
2018-03-28Several changes in syn_cache_respond:maxv
2018-03-28Remove unused variable.maxv
2018-03-28Remove two unused args from syn_cache_get().maxv
2018-03-28Dedup: introduce tcp_urp_drop() and use it.maxv
2018-03-28Minor changes: style, improve comments (and put them at the correct place),maxv
2018-03-23Remove #ifdef INET. Nobody is doing that in the kernel, and there aremaxv
2018-03-23Improve a bit here and there. Replace bcopy by memcpy/memmove.maxv
2018-03-22Don't pass a pointer to tcp_reass, otherwise it looks like it can modifymaxv
2018-03-22Rearrange a bit. No real functional change.maxv
2018-03-22Don't call tcp_input_checksum again, it was already called earlier, nomaxv
2018-03-01Revert rev1.183 (2003).maxv
2018-02-28Remove unused ipsec_private.h includes.maxv
2018-02-28Remove duplicate IPSEC_STATINC(IPSEC_STAT_IN_POLVIO), ipsec_in_rejectmaxv
2018-02-26Dedup: merge ipsec4_in_reject and ipsec6_in_reject into ipsec_in_reject.maxv
2018-02-12Remove unused argument from tcp_signature_getsav.maxv
2018-02-12Add a KASSERT.maxv
2018-02-12Remove the 'm' argument from syn_cache_respond(); all it does with it ismaxv
2018-02-12Remove this multicast check. Multicast packets are already dropped atmaxv
2018-02-09Style, and move the 'ip_srcroute' call after 'tcp_dooptions', otherwisemaxv
2018-02-08Style, rename a variable, and remove an unreachable case.maxv
2018-02-08Move the IPv4 multicast check earlier; we want to kick multicast packetsmaxv
2018-02-08Remove the unused 'multicast' argument from tcp_vtw_input, and removemaxv
2018-02-08Remove the default case, the beginning of the function already ensuresmaxv
2018-02-08Dedup code.maxv
2018-02-08Remove the IN6_IS_ADDR_V4MAPPED checks in the protocol functions. Theymaxv