aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv4.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-26rstreason: prepare for passive resetJason Xing1-4/+6
2024-04-01tcp/dccp: do not care about families in inet_twsk_purge()Eric Dumazet1-1/+1
2023-11-02dccp: Call security_inet_conn_request() after setting IPv4 addresses.Kuniyuki Iwashima1-3/+3
2023-10-01inet: implement lockless IP_TOSEric Dumazet1-1/+1
2023-09-18dccp: fix dccp_v4_err()/dccp_v6_err() againEric Dumazet1-7/+2
2023-08-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-4/+9
2023-08-28dccp: Fix out of bounds access in DCCP error handlerJann Horn1-4/+9
2023-08-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2023-08-20ipv4: fix data-races around inet->inet_idEric Dumazet1-2/+2
2023-08-16inet: move inet->recverr to inet->inet_flagsEric Dumazet1-3/+1
2023-07-19dccp: Set TOS and routing scope independently for fib lookups.Guillaume Nault1-1/+2
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-1/+0
2023-03-17dccp: annotate lockless accesses to sk->sk_err_softEric Dumazet1-5/+7
2022-11-22dccp/tcp: Fixup bhash2 bucket when connect() fails.Kuniyuki Iwashima1-2/+1
2022-11-22dccp/tcp: Update saddr under bhash's lock.Kuniyuki Iwashima1-18/+4
2022-11-22dccp/tcp: Reset saddr on failure after inet6?_hash_connect().Kuniyuki Iwashima1-0/+2
2022-10-11treewide: use get_random_{u8,u16}() when possible, part 1Jason A. Donenfeld1-2/+2
2022-08-24net: Add a bhash2 table hashed by port and addressJoanne Koong1-2/+23
2022-05-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+6
2022-05-16dccp: use READ_ONCE() to read sk->sk_bound_dev_ifEric Dumazet1-1/+1
2022-05-13Revert "tcp/dccp: get rid of inet_twsk_purge()"Eric Dumazet1-0/+6
2022-04-22ipv4: Avoid using RTO_ONLINK with ip_route_connect().Guillaume Nault1-3/+2
2022-01-25tcp/dccp: get rid of inet_twsk_purge()Eric Dumazet1-6/+0
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-2/+2
2021-05-17net: Remove the member netns_okYejune Deng1-1/+0
2021-04-09net: dccp: use net_generic storageFlorian Westphal1-4/+20
2020-12-16Merge tag 'selinux-pr-20201214' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2020-11-23tcp: fix race condition when creating child sockets from syncookiesRicardo Dias1-1/+1
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore1-1/+1
2020-09-10ip: pass tos into ip_build_and_send_pkt()Wei Wang1-2/+4
2020-08-24net: dccp: delete repeated wordsRandy Dunlap1-1/+1
2020-07-19net/ipv6: remove compat_ipv6_{get,set}sockoptChristoph Hellwig1-4/+0
2020-07-19net/ipv4: remove compat_ip_{get,set}sockoptChristoph Hellwig1-4/+0
2020-07-19net: remove compat_sock_common_{get,set}sockoptChristoph Hellwig1-4/+0
2020-07-13net: dccp: kerneldoc fixesAndrew Lunn1-0/+2
2019-11-04dccp: do not leak jiffies on the wireEric Dumazet1-1/+1
2019-11-01inet: stop leaking jiffies on the wireEric Dumazet1-1/+1
2019-10-01netfilter: drop bridge nf reset from nf_resetFlorian Westphal1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann1-0/+1
2018-11-08net: Convert protocol error handlers from void to intStefano Brivio1-5/+8
2018-10-02inet: make sure to grab rcu_read_lock before using ireq->ireq_optEric Dumazet1-1/+3
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds1-1/+1
2018-05-26net/dccp: convert to ->poll_maskChristoph Hellwig1-1/+1
2018-04-07dccp: initialize ireq->ir_markEric Dumazet1-0/+1
2017-10-26tcp/dccp: fix other lockdep splats accessing ireq_optEric Dumazet1-1/+1
2017-10-21tcp/dccp: fix ireq->opt racesEric Dumazet1-5/+8
2017-08-07net: ipv4: add second dif to inet socket lookupsDavid Ahern1-2/+2
2017-07-27dccp: fix a memleak that dccp_ipv4 doesn't put reqsk properlyXin Long1-0/+1
2017-06-20dccp: call inet_add_protocol after register_pernet_subsys in dccp_v4_initXin Long1-8/+9
2017-04-23Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-1/+1
2017-04-18mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCUPaul E. McKenney1-1/+1
2017-03-13dccp/tcp: fix routing redirect raceJon Maxwell1-1/+2
2017-02-22net/dccp: fix use after free in tw_timer_handler()Andrey Ryabinin1-0/+6
2017-01-18inet: drop ->bind_conflictJosef Bacik1-1/+0
2016-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+7
2016-11-29net/dccp: fix use-after-free in dccp_invalid_packetEric Dumazet1-5/+7
2016-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-7/+9
2016-11-03dccp: fix out of bound access in dccp_v4_err()Eric Dumazet1-6/+8
2016-11-03dccp: do not release listeners too soonEric Dumazet1-1/+1
2016-10-29tcp/dccp: drop SYN packets if accept queue is fullEric Dumazet1-7/+1
2016-07-13dccp: limit sk_filter trim to payloadWillem de Bruijn1-1/+1
2016-07-09dccp: avoid deadlock in dccp_v4_ctl_send_resetEric Dumazet1-4/+6
2016-05-02dccp: do not assume DCCP code is non preemptibleEric Dumazet1-2/+2
2016-04-27net: rename NET_{ADD|INC}_STATS_BH()Eric Dumazet1-5/+5
2016-04-27net: rename IP_INC_STATS_BH()Eric Dumazet1-1/+1
2016-04-27net: rename ICMP_INC_STATS_BH()Eric Dumazet1-2/+2
2016-04-27dccp: rename DCCP_INC_STATS_BH()Eric Dumazet1-4/+4
2016-04-07net: introduce lockdep_is_held and update various places to use itHannes Frederic Sowa1-1/+1
2016-04-04tcp/dccp: do not touch listener sk_refcnt under synfloodEric Dumazet1-2/+5
2016-03-17tcp/dccp: remove obsolete WARN_ON() in icmp handlersEric Dumazet1-2/+0
2016-02-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-7/+7
2016-02-18tcp/dccp: fix another race at listener dismantleEric Dumazet1-7/+7
2016-02-11inet: refactor inet[6]_lookup functions to take skbCraig Gallek1-1/+1
2015-10-23tcp/dccp: fix hashdance race for passive sessionsEric Dumazet1-2/+4
2015-10-16tcp/dccp: add inet_csk_reqsk_queue_drop_and_put() helperEric Dumazet1-1/+1
2015-10-16Revert "inet: fix double request socket freeing"Eric Dumazet1-1/+1
2015-10-13tcp/dccp: fix behavior of stale SYN_RECV request socketsEric Dumazet1-8/+7
2015-10-05tcp: avoid two atomic ops for syncookiesEric Dumazet1-1/+1
2015-10-03tcp/dccp: install syn_recv requests into ehash tableEric Dumazet1-43/+21
2015-09-29tcp/dccp: constify syn_recv_sock() method sock argumentEric Dumazet1-1/+2
2015-09-29tcp/dccp: constify send_synack and send_reset socket argumentEric Dumazet1-1/+1
2015-09-25tcp/dccp: constify rtx_synack() and friendsEric Dumazet1-1/+1
2015-04-24inet: fix possible panic in reqsk_queue_unlink()Eric Dumazet1-1/+2
2015-03-23inet: fix double request socket freeingFan Du1-1/+1
2015-03-23ipv4: dccp: handle ICMP messages on DCCP_NEW_SYN_RECV request socketsEric Dumazet1-36/+34
2015-03-23inet: remove sk_listener parameter from syn_ack_timeout()Eric Dumazet1-1/+1
2015-03-20inet: get rid of central tcp/dccp listener timerEric Dumazet1-3/+7
2015-03-20inet: drop prev pointer handling in request sockEric Dumazet1-8/+6
2015-03-18inet: request sock should init IPv6/IPv4 addressesEric Dumazet1-2/+2
2015-03-18inet: add IPv6 support to sk_ehashfn()Eric Dumazet1-5/+4
2015-03-17inet: add sk_listener argument to inet_reqsk_alloc()Eric Dumazet1-2/+1
2015-03-14inet: fill request sock ir_iif for IPv4Eric Dumazet1-0/+1
2015-03-12inet: introduce ireq_familyEric Dumazet1-0/+1
2015-03-12ipv6: add missing ireq_net & ir_cookie initializationsEric Dumazet1-1/+0
2015-03-11net: fix CONFIG_NET_NS=n compilationEric Dumazet1-1/+1
2015-03-11net: add real socket cookiesEric Dumazet1-0/+2
2014-11-18dccp: remove blank lines between function/EXPORT_SYMBOLFabian Frederick1-6/+0
2014-05-23net: Eliminate no_check from protoswTom Herbert1-1/+0
2014-01-13ipv4: introduce hardened ip_no_pmtu_disc modeHannes Frederic Sowa1-0/+1
2013-12-06net: Remove FLOWI_FLAG_CAN_SLEEPSteffen Klassert1-1/+1
2013-11-05ipv4: introduce new IP_MTU_DISCOVER mode IP_PMTUDISC_INTERFACEHannes Frederic Sowa1-0/+1
2013-10-10inet: includes a sock_common in request_sockEric Dumazet1-9/+9
2013-03-17tcp: Remove TCPCTChristoph Paasch1-3/+2
2012-12-14inet: Fix kmemleak in tcp_v4/6_syn_recv_sock and dccp_v4/6_request_recv_sockChristoph Paasch1-2/+2
2012-07-23ipv4: Prepare for change of rt->rt_iif encoding.David S. Miller1-1/+1
2012-07-20ipv4: Kill FLOWI_FLAG_RT_NOCACHE and associated code.David S. Miller1-1/+1
2012-07-17net: Pass optional SKB and SK arguments to dst_ops->{update_pmtu,redirect}()David S. Miller1-1/+1
2012-07-16ipv4: Add helper inet_csk_update_pmtu().David S. Miller1-9/+2
2012-07-12net: Remove checks for dst_ops->redirect being NULL.David S. Miller1-1/+1
2012-07-11ipv4: Add redirect support to all protocol icmp error handlers.David S. Miller1-0/+11
2012-06-22ipv4: tcp: dont cache output dst for syncookiesEric Dumazet1-1/+1
2012-04-14inet: makes syn_ack_timeout mandatoryEric Dumazet1-0/+6
2012-03-03dccp: fix bug in sequence number validation during connection setupSamuel Jero1-3/+5
2011-12-01dccp: Evaluate ip_hdr() only once in dccp_v4_route_skb().David S. Miller1-2/+3
2011-11-21dccp: fix error propagation in dccp_v4_connectRongQing.Li1-0/+1
2011-11-03net: add missing bh_unlock_sock() callsEric Dumazet1-0/+1
2011-08-06net: Compute protocol sequence numbers and fragment IDs using MD5.David S. Miller1-0/+1
2011-05-18ipv4: Make caller provide flowi4 key to inet_csk_route_req().David S. Miller1-1/+2
2011-05-08ipv4: Use inet_csk_route_child_sock() in DCCP and TCP.David S. Miller1-9/+10
2011-05-08dccp: Use cork flow in dccp_v4_connect()David S. Miller1-5/+6
2011-05-03dccp: Use flowi4->saddr in dccp_v4_connect()David S. Miller1-1/+1
2011-04-28ipv4: Get route daddr from flow key in dccp_v4_connect().David S. Miller1-1/+1
2011-04-28inet: add RCU protection to inet->optEric Dumazet1-6/+10
2011-04-27ipv4: Sanitize and simplify ip_route_{connect,newports}()David S. Miller1-5/+5
2011-03-12net: Put fl4_* macros to struct flowi4 and use them again.David S. Miller1-2/+2
2011-03-12ipv4: Use flowi4 in public route lookup interfaces.David S. Miller1-10/+10
2011-03-12net: Make flowi ports AF dependent.David S. Miller1-2/+2
2011-03-12net: Put flowi_* prefix on AF independent members of struct flowiDavid S. Miller1-8/+9
2011-03-02ipv4: Make output route lookup return rtable directly.David S. Miller1-13/+14
2011-03-01ipv4: Kill can_sleep arg to ip_route_output_flow()David S. Miller1-1/+1
2011-03-01ipv4: Make final arg to ip_route_output_flow to be boolean "can_sleep"David S. Miller1-1/+1
2011-03-01ipv4: Can final ip_route_connect() arg to boolean "can_sleep".David S. Miller1-1/+1
2011-02-24ipv4: Rearrange how ip_route_newports() gets port keys.David S. Miller1-3/+7
2010-11-17net: use the macros defined for the members of flowiChangli Gao1-8/+5
2010-10-21tproxy: fix hash locking issue when using port redirection in __inet_inherit_...Balazs Scheidler1-3/+7
2010-06-10net-next: remove useless union keywordChangli Gao1-2/+2
2010-04-11inet: Remove unused send_check length argumentHerbert Xu1-1/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-15net-2.6 [Bug-Fix][dccp]: fix oops caused after failed initialisationGerrit Renker1-4/+4
2010-01-17net: spread __net_init, __net_exitAlexey Dobriyan1-2/+2
2009-12-08tcp: Fix a connect() race with timewait socketsEric Dumazet1-1/+1
2009-12-02TCPCT part 1a: add request_values parameter for sending SYNACKWilliam Allen Simpson1-2/+3
2009-11-05net: drop capability from protocol definitionsEric Paris1-1/+0
2009-10-18inet: rename some inet_sock fieldsEric Dumazet1-18/+22
2009-09-14net: constify struct net_protocolAlexey Dobriyan1-1/+1
2009-09-02inet: inet_connection_sock_af_ops constStephen Hemminger1-1/+1
2009-06-03net: skb->dst accessorsEric Dumazet1-2/+2
2009-06-03net: skb->rtable accessorEric Dumazet1-3/+3
2008-11-16net: Convert TCP & DCCP hash tables to use RCU / hlist_nullsEric Dumazet1-0/+1
2008-11-04dccp: Cleanup routines for feature negotiationGerrit Renker1-0/+1
2008-11-04dccp: Per-socket initialisation of feature negotiationGerrit Renker1-1/+2
2008-10-31net: replace NIPQUAD() in net/*/Harvey Harrison1-5/+3
2008-10-07inet_hashtables: Add inet_lookup_skb helpersArnaldo Carvalho de Melo1-3/+2
2008-09-09This reverts "Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/dccp_exp"Gerrit Renker1-3/+1
2008-09-04dccp: Cleanup routines for feature negotiationGerrit Renker1-0/+1
2008-09-04dccp: Per-socket initialisation of feature negotiationGerrit Renker1-1/+2
2008-07-26dccp: Fix incorrect length check for ICMPv4 packetsWei Yongjun1-3/+4
2008-07-26dccp: Fix sequence number check for ICMPv4 packetsWei Yongjun1-1/+1
2008-07-25net: convert BUG_TRAP to generic WARN_ONIlpo Järvinen1-1/+1
2008-07-16mib: add net to NET_INC_STATS_BHPavel Emelyanov1-5/+5
2008-07-16mib: add net to IP_INC_STATS_BHPavel Emelyanov1-1/+1
2008-07-14mib: add struct net to ICMP_INC_STATS_BHPavel Emelyanov1-2/+2
2008-07-14inet: toss struct net initialization aroundPavel Emelyanov1-1/+2
2008-06-10inet{6}_request_sock: Init ->opt and ->pktopts in the constructorArnaldo Carvalho de Melo1-2/+1
2008-05-27dccp: Fix to handle short sequence numbers packet correctlyWei Yongjun1-2/+2
2008-04-14[DCCP]: Fix comment about control sockets.Pavel Emelyanov1-1/+1
2008-04-14Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-1/+0
2008-04-13[NETNS][DCCPV4]: Enable DCCPv4 in net namespaces.Pavel Emelyanov1-0/+1
2008-04-13[NETNS][DCCPV4]: Make per-net socket lookup.Pavel Emelyanov1-4/+5
2008-04-13[NETNS][DCCPV4]: Use proper net to route the reset packet.Pavel Emelyanov1-3/+3
2008-04-13[NETNS][DCCPV4]: Actually create ctl socket on each net and use it.Pavel Emelyanov1-10/+8
2008-04-13[NETNS][DCCPV4]: Move the dccp_v4_ctl_sk on the struct net.Pavel Emelyanov1-10/+10
2008-04-13[NETNS][DCCPV4]: Add dummy per-net operations.Pavel Emelyanov1-0/+21
2008-04-12[DCCP]: Fix skb->cb conflicts with IPPatrick McHardy1-1/+0
2008-04-03[NETNS]: Inet control socket should not hold a namespace.Denis V. Lunev1-2/+2
2008-04-03[INET]: Let inet_ctl_sock_create return sock rather than socket.Denis V. Lunev1-3/+1
2008-04-03[INET]: Rename inet_csk_ctl_sock_create to inet_ctl_sock_create.Denis V. Lunev1-2/+2
2008-04-03[DCCP]: dccp_v(4|6)_ctl_socket is leaked.Denis V. Lunev1-0/+1
2008-04-03[DCCP]: Replace socket with sock for reset sending.Denis V. Lunev1-7/+9
2008-03-28[SOCK]: Drop inuse pcounter from struct proto (v2).Pavel Emelyanov1-3/+0
2008-03-22[SOCK]: Add udp_hash member to struct proto.Pavel Emelyanov1-1/+1
2008-03-05[IPV4]: Add 'rtable' field in struct sk_buff to alias 'dst' and avoid castsEric Dumazet1-4/+3
2008-02-29[INET]: Remove struct dst_entry *dst from request_sock_ops.rtx_syn_ack.Denis V. Lunev1-6/+5
2008-02-03[SOCK] proto: Add hashinfo member to struct protoArnaldo Carvalho de Melo1-11/+7
2008-01-31[NETNS]: Tcp-v4 sockets per-net lookup.Pavel Emelyanov1-3/+3
2008-01-28[NETNS]: Add namespace parameter to ip_route_output_flow.Denis V. Lunev1-1/+1
2008-01-28[INET]: Uninline the __inet_hash function.Pavel Emelyanov1-1/+1
2008-01-28[DCCP]: Allow to parse options on Request SocketsGerrit Renker1-4/+4
2007-11-07[DCCP]: Use DEFINE_PROTO_INUSE infrastructure.David S. Miller1-0/+3
2007-10-24[DCCP]: One more exemption from full sequence number checksGerrit Renker1-1/+1
2007-10-24[DCCP]: Retrieve packet sequence number for error reportingGerrit Renker1-2/+2
2007-10-22[INET]: Use MODULE_ALIAS_NET_PF_PROTO_TYPE where possible.Jean Delvare1-2/+2
2007-10-10[DCCP]: Twice the wrong reset code in receiving connection-RequestsGerrit Renker1-7/+4
2007-10-10[DCCP]: Factor out common code for generating ResetsGerrit Renker1-33/+5
2007-10-10[DCCP]: Sequence number wrap-around when sending resetGerrit Renker1-1/+1
2007-10-10[DCCP]: Remove unneeded pointer newdp from dccp_v4_request_recv_sock()Micah Gruber1-2/+0
2007-04-25[SK_BUFF]: Introduce icmp_hdr(), remove skb->h.icmphArnaldo Carvalho de Melo1-2/+2
2007-04-25[SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iphArnaldo Carvalho de Melo1-19/+20
2007-02-10[NET] DCCP: Fix whitespace errors.YOSHIFUJI Hideaki1-3/+3