aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_fragment.c
AgeCommit message (Expand)AuthorFilesLines
2025-08-29ipv4: start using dst_dev_rcu()Eric Dumazet1-2/+4
2025-07-02ipv4: adopt dst_dev, skb_dst_dev and skb_dst_dev_net[_rcu]Eric Dumazet1-1/+1
2025-06-08treewide, timers: Rename from_timer() to timer_container_of()timers-cleanups-2025-06-08Ingo Molnar1-1/+1
2025-03-18inet: frags: save a pair of atomic operations in reassemblyEric Dumazet1-1/+4
2025-03-18inet: frags: change inet_frag_kill() to defer refcount updatesEric Dumazet1-18/+12
2025-03-18ipv4: frags: remove ipq_put()Eric Dumazet1-11/+4
2025-03-18inet: frags: add inet_frag_putn() helperEric Dumazet1-1/+1
2024-12-17inetpeer: do not get a refcount in inet_getpeer()Eric Dumazet1-5/+10
2024-12-17inetpeer: remove create argument of inet_getpeer_v[46]()Eric Dumazet1-1/+1
2024-11-12net: ip: make ip_route_input_noref() return drop reasonsMenglong Dong1-5/+6
2024-10-03ipv4: Convert ip_route_input_noref() to dscp_t.Guillaume Nault1-2/+2
2024-05-23net: Rename mono_delivery_time to tstamp_type for scalabiltyAbhishek Chauhan1-1/+1
2024-05-03net: ipv{6,4}: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-2/+0
2024-04-22sysctl: treewide: constify ctl_table_header::ctl_table_argThomas Weißschuh1-1/+1
2024-03-28inet: inet_defrag: prevent sk release while still in useFlorian Westphal1-1/+1
2023-08-15networking: Update to register_net_sysctl_szJoel Granados1-1/+2
2022-10-31net: dropreason: add SKB_DROP_REASON_FRAG_TOO_FAREric Dumazet1-1/+1
2022-10-31net: dropreason: add SKB_DROP_REASON_FRAG_REASM_TIMEOUTEric Dumazet1-2/+4
2022-10-31net: dropreason: add SKB_DROP_REASON_DUP_FRAGEric Dumazet1-4/+9
2022-03-03net: ip: Handle delivery_time in ip defragMartin KaFai Lau1-0/+1
2022-01-13inet: frags: annotate races around fqdir->dead and fqdir->high_threshEric Dumazet1-1/+2
2019-08-08inet: frags: re-introduce skb coalescing for local deliveryGuillaume Nault1-1/+7
2019-06-19inet: fix various use-after-free in defrags unitsEric Dumazet1-2/+12
2019-05-26net: dynamically allocate fqdir structuresEric Dumazet1-16/+16
2019-05-26net: add a net pointer to struct fqdirEric Dumazet1-13/+7
2019-05-26net: rename inet_frags_init_net() to fdir_init()Eric Dumazet1-2/+1
2019-05-26ipv4: no longer reference init_net in ip4_frags_ns_ctl_table[]Eric Dumazet1-12/+6
2019-05-26net: rename struct fqdir fieldsEric Dumazet1-26/+26
2019-05-26net: rename inet_frags_exit_net() to fqdir_exit()Eric Dumazet1-2/+2
2019-05-26inet: rename netns_frags to fqdirEric Dumazet1-10/+10
2019-02-26net: remove unused struct inet_frag_queue.fragments fieldPeter Oskolkov1-2/+0
2019-01-25net: IP defrag: encapsulate rbtree defrag code into callable functionsPeter Oskolkov1-262/+27
2018-12-15net: ipv4: do not handle duplicate fragments as overlappingMichal Kubecek1-6/+12
2018-12-05ipv4: ipv6: netfilter: Adjust the frag mem limit when truesize changesJiri Wiesner1-0/+7
2018-11-01net: drop skb on failure in ip_check_defrag()Cong Wang1-4/+8
2018-09-21net/ipfrag: let ip[6]frag_high_thresh in ns be higher than in init_netPeter Oskolkov1-1/+0
2018-09-21ipv4: remove redundant null pointer check before kfree_skbzhong jiang1-2/+1
2018-09-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2018-09-10net: Add and use skb_mark_not_on_list().David S. Miller1-1/+1
2018-09-09ip: frags: fix crash in ip_do_fragment()Taehee Yoo1-0/+1
2018-08-29ip: fail fast on IP defrag errorsPeter Oskolkov1-9/+12
2018-08-11ip: process in-order fragments efficientlyPeter Oskolkov1-41/+69
2018-08-11ip: add helpers to process in-order fragments faster.Peter Oskolkov1-0/+73
2018-08-06ipv4: frags: precedence bug in ip_expire()Dan Carpenter1-1/+1
2018-08-05ip: use rb trees for IP frag queue.Peter Oskolkov1-81/+101
2018-08-05ip: discard IPv4 datagrams with overlapping segments.Peter Oskolkov1-56/+19
2018-07-31ipv4: frags: handle possible skb truesize changeEric Dumazet1-0/+5
2018-04-04inet: frags: fix ip6frag_low_thresh boundaryEric Dumazet1-3/+2
2018-03-31inet: frags: get rid of ipfrag_skb_cb/FRAG_CBEric Dumazet1-21/+14
2018-03-31inet: frags: do not clone skb in ip_expire()Eric Dumazet1-10/+6
2018-03-31inet: frags: break the 2GB limit for frags storageEric Dumazet1-5/+5
2018-03-31inet: frags: remove inet_frag_maybe_warn_overflow()Eric Dumazet1-3/+2
2018-03-31inet: frags: get rif of inet_frag_evicting()Eric Dumazet1-33/+32
2018-03-31inet: frags: remove some helpersEric Dumazet1-5/+0
2018-03-31inet: frags: use rhashtables for reassembly unitsEric Dumazet1-63/+49
2018-03-31inet: frags: refactor ipfrag_init()Eric Dumazet1-2/+2
2018-03-31inet: frags: add a pointer to struct netns_fragsEric Dumazet1-4/+5
2018-03-31inet: frags: change inet_frags_init_net() return valueEric Dumazet1-3/+9
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-02-13net: Convert pernet_subsys, registered from inet_init()Kirill Tkhai1-0/+1
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-18inet: frags: Convert timers to use timer_setup()Kees Cook1-2/+3
2017-09-03Revert "net: fix percpu memory leaks"Jesper Dangaard Brouer1-9/+3
2017-07-01net: convert inet_frag_queue.refcnt from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-03-22inet: frag: release spinlock before calling icmp_send()Eric Dumazet1-8/+17
2016-04-27net: rename IP_INC_STATS_BH()Eric Dumazet1-7/+7
2016-02-16net: Export ip fragment sysctl to unprivileged usersNikolay Borisov1-4/+0
2016-02-16ipv4: namespacify ip fragment max dist sysctl knobNikolay Borisov1-12/+13
2016-01-28inet: frag: Always orphan skbs inside ip_defrag()Joe Stringer1-0/+1
2016-01-05inet: kill unused skb_free opFlorian Westphal1-1/+0
2015-11-02net: fix percpu memory leaksEric Dumazet1-3/+9
2015-10-12ipv4: Pass struct net into ip_defrag and ip_check_defragEric W. Biederman1-4/+3
2015-09-29net: Replace vrf_master_ifindex{, _rcu} with l3mdev equivalentsDavid Ahern1-3/+3
2015-08-28net: Add support for VRFs to inetpeer cacheDavid Ahern1-1/+2
2015-08-13net: frags: Add VRF device index to cache and lookupDavid Ahern1-5/+13
2015-07-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+6
2015-07-26inet: frags: remove INET_FRAG_EVICTED and use list_evictor for the testNikolay Aleksandrov1-1/+1
2015-07-26inet: frag: change *_frag_mem_limit functions to take netns_frags as argumentFlorian Westphal1-5/+5
2015-07-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+4
2015-07-21inet: frags: fix defragmented packet's IP header for af_packetEdward Hyunkoo Jee1-2/+4
2015-07-11Revert "ipv4: use skb coalescing in defragmentation"Florian Westphal1-20/+6
2015-05-27ip_fragment: don't forward defragmented DF packetFlorian Westphal1-5/+26
2015-05-19IPv4: skip ICMP for bridge contrack users when defrag expiresAndy Zhou1-1/+3
2015-05-19ipv4: introduce frag_expire_skip_icmp()Andy Zhou1-4/+9
2015-04-03ipv4: coding style: comparison for inequality with NULLIan Morris1-1/+2
2015-04-03ipv4: coding style: comparison for equality with NULLIan Morris1-5/+6
2015-03-05ipv4: ip_check_defrag should not assume that skb_network_offset is zeroAlexander Drozdov1-4/+7
2015-02-20ipv4: ip_check_defrag should correctly check return value of skb_copy_bitsAlexander Drozdov1-1/+1
2014-11-11net: Convert LIMIT_NETDEBUG to net_dbg_ratelimitedJoe Perches1-2/+1
2014-11-04inet: frags: remove inline on static in c fileFabian Frederick1-8/+8
2014-10-01inet: frags: add __init to ip4_frags_ctl_registerFabian Frederick1-2/+2
2014-08-02inet: frags: use kmem_cache for inet_frag_queueNikolay Aleksandrov1-1/+4
2014-08-02inet: frags: use INET_FRAG_EVICTED to prevent icmp messagesNikolay Aleksandrov1-7/+7
2014-08-02inet: frags: rename last_in to flagsNikolay Aleksandrov1-10/+10
2014-07-27inet: frag: set limits and make init_net's high_thresh limit globalNikolay Aleksandrov1-2/+8
2014-07-27inet: frag: use seqlock for hash rebuildFlorian Westphal1-1/+0
2014-07-27inet: frag: remove periodic secret rebuild timerFlorian Westphal1-2/+3
2014-07-27inet: frag: remove lru listFlorian Westphal1-1/+0
2014-07-27inet: frag: don't account number of fragment queuesFlorian Westphal1-5/+0
2014-07-27inet: frag: move eviction of queues to work queueFlorian Westphal1-1/+2
2014-07-27inet: frag: move evictor calls into frag_find functionFlorian Westphal1-15/+0
2014-07-27inet: frag: remove hash size assumptions from callersFlorian Westphal1-1/+1
2014-07-27inet: frag: constify match, hashfn and constructor argumentsFlorian Westphal1-7/+7
2014-05-05ipv4: fix "conntrack zones" support for defrag user check in ip_expireVasily Averin1-2/+3
2013-12-17net: Add utility functions to clear rxhashTom Herbert1-1/+1
2013-10-23ipv4: initialize ip4_frags hash secret as late as possibleHannes Frederic Sowa1-0/+1
2013-04-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+10
2013-04-17net: drop dst before queueing fragmentsEric Dumazet1-4/+10
2013-03-24inet: generalize ipv4-only RFC3168 5.3 ecn fragmentation handling for future ...Hannes Frederic Sowa1-30/+1
2013-03-19inet: limit length of fragment queue hash table bucket listsHannes Frederic Sowa1-7/+4
2013-02-15net: Add skb_unclone() helper function.Pravin B Shelar1-1/+1
2013-01-29net: frag, move LRU list maintenance outside of rwlockJesper Dangaard Brouer1-3/+1
2013-01-29net: frag helper functions for mem limit trackingJesper Dangaard Brouer1-13/+11
2013-01-17net: increase fragment memory usage limitsJesper Dangaard Brouer1-7/+15
2012-12-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+4
2012-12-10ipv4: ip_check_defrag must not modify skb before unsharingJohannes Berg1-10/+9
2012-11-18net: Don't export sysctls to unprivileged usersEric W. Biederman1-0/+4
2012-09-19ipv6: unify fragment thresh handling codeAmerigo Wang1-3/+2
2012-08-26ipv4: fix path MTU discovery with connection trackingPatrick McHardy1-1/+7
2012-07-26ipv4: Fix input route performance regression.David S. Miller1-2/+2
2012-07-20ipv4: Kill ip_route_input_noref().David Miller1-2/+2
2012-06-27Revert "ipv4: tcp: dont cache unconfirmed intput dst"David S. Miller1-1/+1
2012-06-27ipv4: tcp: dont cache unconfirmed intput dstEric Dumazet1-1/+1
2012-06-09inet: Pass inetpeer root into inet_getpeer*() interfaces.David S. Miller1-1/+1
2012-06-08inetpeer: add parameter net for inet_getpeer_v4,v6Gao feng1-1/+5
2012-05-19ipv4: use skb coalescing in defragmentationEric Dumazet1-6/+20
2012-05-18ip_frag: struct inet_frags match() method returns a boolEric Dumazet1-5/+5
2012-05-15net: Convert net_ratelimit uses to net_<level>_ratelimitedJoe Perches1-2/+1
2012-04-20net: Convert all sysctl registrations to register_net_sysctlEric W. Biederman1-1/+1
2012-04-20net: Kill register_sysctl_rotableEric W. Biederman1-1/+1
2012-04-19ipv4: dont drop packet in defrag but consume itEric Dumazet1-1/+1
2012-03-12net: ipv4: Standardize prefixes for message loggingJoe Perches1-3/+5
2012-03-11net: Convert printks to pr_<level>Joe Perches1-2/+1
2011-12-02treewide: Fix typos in various parts of the kernel, and fix some comments.Justin P. Mattock1-1/+1
2011-10-19net: add skb frag size accessorsEric Dumazet1-2/+2
2011-10-18macvlan: handle fragmented multicast framesEric Dumazet1-0/+36
2011-07-05ipv4: Add ip_defrag() agent IP_DEFRAG_AF_PACKET.David S. Miller1-2/+3
2011-05-17ipv4: Don't use enums as bitmasks in ip_fragment.cDavid S. Miller1-6/+4
2011-05-16ipv4: more compliant RFC 3168 supportEric Dumazet1-22/+38
2011-05-04net: ip_expire() must revalidate routeEric Dumazet1-16/+15
2011-01-06ipv4: IP defragmentation must be ECN awareEric Dumazet1-0/+34
2010-11-30inetpeer: Make inet_getpeer() take an inet_peer_adress_t pointer.David S. Miller1-1/+1
2010-09-23net: return operator cleanupEric Dumazet1-2/+2
2010-08-23net: Rename skb_has_frags to skb_has_frag_listDavid S. Miller1-1/+1
2010-07-12net/ipv4: EXPORT_SYMBOL cleanupsEric Dumazet1-2/+1
2010-06-30fragment: add fast path for in-order fragmentsChangli Gao1-0/+12
2010-06-15ipfrag : frag_kfree_skb() cleanupEric Dumazet1-6/+3
2010-06-15ip_frag: Remove some atomic opsEric Dumazet1-2/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-02-02ipv4: ip_fragment: fix unbalanced rcu_read_unlock()Patrick McHardy1-3/+2
2010-01-23IP: Send an ICMP "Fragment Reassembly Timeout" message when enabling connecti...Shan Wei1-4/+30
2010-01-17net: spread __net_init, __net_exitAlexey Dobriyan1-4/+4
2009-12-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6Linus Torvalds1-5/+6
2009-12-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/sysctl-2.6Linus Torvalds1-6/+0
2009-12-01Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-1/+1
2009-11-29ipv4: additional update of dev_net(dev) to struct *net in ip_fragment.c, NULL...David Ford1-1/+1
2009-11-25net: use net_eq to compare netsOctavian Purdila1-2/+2
2009-11-12sysctl net: Remove unused binary sysctl codeEric W. Biederman1-6/+0
2009-11-05ip_frag: dont touch device refcountEric Dumazet1-3/+4
2009-06-09ipv4: Use frag list abstraction interfaces.David S. Miller1-2/+2
2009-06-03net: skb->dst accessorsEric Dumazet1-1/+1
2009-03-18netns: oops in ip[6]_frag_reasm incrementing statsJorge Boncompte [DTI2]1-1/+2
2008-11-03net: '&' reduxAlexey Dobriyan1-7/+7
2008-11-03net: clean up net/ipv4/ip_fragment.c tcp_timer.c ip_input.cJianjun Kong1-1/+1
2008-10-31net: replace NIPQUAD() in net/ipv4/ net/ipv6/Harvey Harrison1-3/+2
2008-10-13net: Rationalise email address: Network Specific PartsAlan Cox1-1/+1
2008-07-25net: convert BUG_TRAP to generic WARN_ONIlpo Järvinen1-2/+2
2008-07-16mib: add net to IP_ADD_STATS_BHPavel Emelyanov1-1/+1
2008-07-16mib: add net to IP_INC_STATS_BHPavel Emelyanov1-7/+10
2008-07-16ipv4: prepare net initialization for IP accountingPavel Emelyanov1-3/+3
2008-06-28Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-0/+2
2008-06-27inet fragments: fix race between inet_frag_find and inet_frag_secret_rebuildPavel Emelyanov1-0/+2
2008-06-11net: remove CVS keywordsAdrian Bunk1-2/+0
2008-05-19inet: Register fragmentation some ctls at read-only root.Pavel Emelyanov1-2/+14
2008-05-19inet: Rename fragmentation sysctl-related functions/variables.Pavel Emelyanov1-9/+9
2008-04-14[IPV4]: Use NIPQUAD_FMT to format ipv4 addresses.YOSHIFUJI Hideaki1-1/+1
2008-03-28[NET]: Rename inet_frag.h identifiers COMPLETE, FIRST_IN, LAST_IN to INET_FRAG_*Joe Perches1-8/+9
2008-03-26[NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS.YOSHIFUJI Hideaki1-1/+1
2008-03-24[NETNS]: Process IP layer in the context of the correct namespace.Denis V. Lunev1-1/+4
2008-03-21[IPV4]: Fix null dereference in ip_defragPhil Oester1-1/+1
2008-01-28[NETNS][FRAGS]: Make the pernet subsystem for fragments.Pavel Emelyanov1-1/+12
2008-01-28[NETNS][FRAGS]: Make the LRU list per namespace.Pavel Emelyanov1-1/+1
2008-01-28[NETNS][FRAGS]: Isolate the secret interval from namespaces.Pavel Emelyanov1-6/+2
2008-01-28[NETNS][FRAGS]: Make thresholds work in namespaces.Pavel Emelyanov1-13/+13
2008-01-28[NETNS][FRAGS]: Make the net.ipv4.ipfrag_timeout work in namespaces.Pavel Emelyanov1-10/+10
2008-01-28[NETNS][FRAGS]: Duplicate sysctl tables for new namespaces.Pavel Emelyanov1-3/+39
2008-01-28[NETNS][FRAGS]: Make the mem counter per-namespace.Pavel Emelyanov1-14/+15
2008-01-28[NETNS][FRAGS]: Make the nqueues counter per-namespace.Pavel Emelyanov1-2/+4
2008-01-28[NETNS][FRAGS]: Make the inet_frag_queue lookup work in namespaces.Pavel Emelyanov1-3/+5
2008-01-28[NETNS][FRAGS]: Move ctl tables around.Pavel Emelyanov1-2/+72
2007-10-17[NET]: Fix uninitialised variable in ip_frag_reasm()David Howells1-2/+1
2007-10-17[INET]: Consolidate frag queues freeingPavel Emelyanov1-1/+0
2007-10-17[INET]: Remove no longer needed ->equal callbackPavel Emelyanov1-15/+0
2007-10-17[INET]: Consolidate xxx_find() in fragment managementPavel Emelyanov1-36/+21
2007-10-17[INET]: Consolidate xxx_frag_create()Pavel Emelyanov1-26/+28
2007-10-17[INET]: Consolidate xxx_frag_alloc()Pavel Emelyanov1-13/+7
2007-10-17[INET]: Consolidate xxx_frag_internPavel Emelyanov1-36/+18
2007-10-17[INET]: Omit double hash calculations in xxx_frag_internPavel Emelyanov1-7/+4
2007-10-15[INET]: kmalloc+memset -> kzalloc in frag_alloc_queueDenis V. Lunev1-6/+1