aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/icmp.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-22icmp: prevent possible NULL dereferences from icmp_build_probe()Eric Dumazet1-2/+10
2023-10-06xfrm: pass struct net to xfrm_decode_session wrappersFlorian Westphal1-1/+1
2023-03-31icmp: guard against too small mtuEric Dumazet1-0/+5
2023-01-26icmp: Add counters for rate limitsJamie Bainbridge1-0/+3
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-1/+1
2022-07-15ip: Fix data-races around sysctl_ip_no_pmtu_disc.Kuniyuki Iwashima1-1/+1
2022-07-13icmp: Fix a data-race around sysctl_icmp_ratemask.Kuniyuki Iwashima1-1/+1
2022-07-13icmp: Fix a data-race around sysctl_icmp_ratelimit.Kuniyuki Iwashima1-1/+2
2022-07-13icmp: Fix a data-race around sysctl_icmp_errors_use_inbound_ifaddr.Kuniyuki Iwashima1-1/+1
2022-07-13icmp: Fix a data-race around sysctl_icmp_ignore_bogus_error_responses.Kuniyuki Iwashima1-1/+1
2022-07-13icmp: Fix a data-race around sysctl_icmp_echo_ignore_broadcasts.Kuniyuki Iwashima1-1/+1
2022-07-13icmp: Fix data-races around sysctl_icmp_echo_enable_probe.Kuniyuki Iwashima1-1/+1
2022-07-13icmp: Fix a data-race around sysctl_icmp_echo_ignore_all.Kuniyuki Iwashima1-1/+1
2022-07-08icmp: Fix data-races around sysctl.Kuniyuki Iwashima1-2/+3
2022-04-30ipv4: remove unnecessary type castingsYu Zhe1-1/+1
2022-04-11net: icmp: add skb drop reasons to icmp protocolMenglong Dong1-31/+44
2022-01-25ipv4: do not use per netns icmp socketsEric Dumazet1-60/+31
2021-10-14icmp: fix icmp_ext_echo_iio parsing in icmp_build_probeXin Long1-12/+11
2021-08-05net: Remove redundant if statementsYajun Deng1-2/+1
2021-06-28ipv6: ICMPV6: add response to ICMPV6 RFC 8335 PROBE messagesAndreas Roeseler1-22/+41
2021-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+7
2021-06-18icmp: don't send out ICMP messages with a source address of 0.0.0.0Toke Høiland-Jørgensen1-0/+7
2021-06-03icmp: fix lib conflict with trinityAndreas Roeseler1-1/+1
2021-04-28icmp: standardize naming of RFC 8335 PROBE constantsAndreas Roeseler1-8/+8
2021-04-13icmp: ICMPV6: pass RFC 8335 reply messages to ping_rcvAndreas Roeseler1-0/+5
2021-03-30icmp: add response to RFC 8335 PROBE messagesAndreas Roeseler1-13/+121
2021-02-23net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sendingJason A. Donenfeld1-2/+3
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore1-2/+2
2020-10-16icmp: randomize the global rate limiterEric Dumazet1-2/+5
2020-10-15Merge tag 'net-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-5/+24
2020-10-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+21
2020-10-14ipv4/icmp: l3mdev: Perform icmp error route lookup on source device routing t...Mathieu Desnoyers1-2/+21
2020-08-31net: clean up codestyleMiaohe Lin1-1/+1
2020-08-24net: Use helper macro RT_TOS() in __icmp_send()Miaohe Lin1-2/+2
2020-08-20csum_partial_copy_nocheck(): drop the last argumentAl Viro1-1/+1
2020-08-20icmp_push_reply(): reorder adding the checksum upAl Viro1-4/+4
2020-08-20skb_copy_and_csum_bits(): don't bother with the last argumentAl Viro1-1/+1
2020-07-24icmp6: support rfc 4884Willem de Bruijn1-0/+1
2020-07-24icmp: prepare rfc 4884 for ipv6Willem de Bruijn1-13/+4
2020-07-24icmp: revise rfc4884 testsWillem de Bruijn1-6/+2
2020-07-19icmp: support rfc 4884Willem de Bruijn1-0/+71
2020-07-01ip: Fix SO_MARK in RST, ACK and ICMP packetsWillem de Bruijn1-2/+2
2020-04-28docs: networking: convert ip-sysctl.txt to ReSTMauro Carvalho Chehab1-1/+1
2020-03-12inet: Use fallthrough;Joe Perches1-1/+1
2020-02-13icmp: introduce helper for nat'd source address in network device contextJason A. Donenfeld1-0/+33
2019-11-08net: icmp: fix data-race in cmp_global_allow()Eric Dumazet1-5/+6
2019-11-03net: icmp: use input address in tracerouteFrancesco Ruggeri1-1/+2
2019-08-24ipv4/icmp: fix rt dst dev null pointer dereferenceHangbin Liu1-1/+7
2019-08-21net: fix icmp_socket_deliver argument 2 inputLi RongQing1-1/+1
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+1
2019-06-03ipv4: icmp: use this_cpu_read() in icmp_sk()Eric Dumazet1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-6/+1
2019-03-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+4
2019-02-25net: Add __icmp_send helper.Nazarov Sergey1-3/+4
2019-02-24ipv4: icmp: use icmp_sk_exit()Kefeng Wang1-3/+1
2018-11-08net: Convert protocol error handlers from void to intStefano Brivio1-2/+4
2018-09-26net-ipv4: remove 2 always zero parameters from ipv4_redirect()Maciej Żenczykowski1-1/+1
2018-09-26net-ipv4: remove 2 always zero parameters from ipv4_update_pmtu()Maciej Żenczykowski1-1/+1
2018-07-07ipv4: ipcm_cookie initializersWillem de Bruijn1-9/+2
2018-07-04net: ipv4: Hook into time based transmissionJesus Sanchez-Palencia1-0/+2
2017-10-24ipv4: icmp: use BUG_ON instead of if condition followed by BUGGustavo A. R. Silva1-2/+3
2017-10-14icmp: don't fail on fragment reassembly time exceededMatteo Croce1-3/+12
2017-08-06ip/options: explicitly provide net ns to __ip_options_echo()Paolo Abeni1-2/+2
2017-06-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+6
2017-06-14net: don't global ICMP rate limit packets originating from loopbackJesper Dangaard Brouer1-2/+6
2017-05-26net: ipv4: refactor __ip_route_output_key_hashDavid Ahern1-1/+1
2017-03-21net: ipv4: add support for ECMP hash policy choiceNikolay Aleksandrov1-18/+1
2017-01-09net: for rate-limited ICMP replies save one atomic operationJesper Dangaard Brouer1-13/+21
2017-01-09net: reduce cycles spend on ICMP replies that gets rate limitedJesper Dangaard Brouer1-23/+48
2017-01-09Revert "icmp: avoid allocating large struct on stack"Jesper Dangaard Brouer1-23/+17
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-08icmp: correct return value of icmp_rcv()Zhang Shengju1-2/+2
2016-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2016-11-09net: icmp_route_lookup should use rt dev to determine L3 domainDavid Ahern1-2/+2
2016-11-04net: inet: Support UID-based routing in IP protocols.Lorenzo Colitti1-0/+2
2016-04-27net: icmp: rename ICMPMSGIN_INC_STATS_BH()Eric Dumazet1-1/+1
2016-04-27net: rename ICMP_INC_STATS_BH()Eric Dumazet1-8/+8
2016-03-01net: ipv4: Convert IP network timestamps to be y2038 safeDeepa Dinamani1-4/+1
2015-10-14Revert "ipv4/icmp: redirect messages can use the ingress daddr as source"Paolo Abeni1-8/+1
2015-10-12ipv4/icmp: redirect messages can use the ingress daddr as sourcePaolo Abeni1-1/+8
2015-10-05ipv4: ICMP packet inspection for multipathPeter Nørlund1-1/+18
2015-09-29net: Replace vrf_master_ifindex{, _rcu} with l3mdev equivalentsDavid Ahern1-4/+4
2015-09-25net: Fix panic in icmp_route_lookupDavid Ahern1-2/+2
2015-08-28net: Add support for VRFs to inetpeer cacheDavid Ahern1-1/+2
2015-08-19vrf: vrf_master_ifindex_rcu is not always called with rcu read lockNikolay Aleksandrov1-2/+2
2015-08-13net: Fix up inet_addr_type checksDavid Ahern1-2/+3
2015-08-13net: Use VRF device index for lookups on TXDavid Ahern1-0/+4
2015-07-21icmp: Don't leak original dst into ip_route_input()Thomas Graf1-0/+1
2015-04-03ipv4: coding style: comparison for equality with NULLIan Morris1-3/+3
2015-01-31ipv4: icmp: use percpu allocationEric Dumazet1-9/+8
2014-11-18icmp: Remove some spurious dropped packet profile hits from the ICMP pathRick Jones1-15/+28
2014-11-11net: Convert LIMIT_NETDEBUG to net_dbg_ratelimitedJoe Perches1-4/+4
2014-09-23icmp: add a global rate limitationEric Dumazet1-4/+60
2014-08-02ipv4: remove nested rcu_read_lock/unlockDuan Jiong1-2/+0
2014-07-31net: fix the counter ICMP_MIB_INERRORS/ICMP6_MIB_INERRORSDuan Jiong1-1/+3
2014-07-07ipv4: icmp: Fix pMTU handling for rare caseEdward Allcutt1-2/+0
2014-05-13net: add a sysctl to reflect the fwmark on repliesLorenzo Colitti1-2/+9
2014-05-08icmp: Call skb_checksum_simple_validateTom Herbert1-10/+2
2014-01-13ipv4: introduce hardened ip_no_pmtu_disc modeHannes Frederic Sowa1-4/+24
2013-12-18ipv4: new ip_no_pmtu_disc mode to always discard incoming frag needed msgsHannes Frederic Sowa1-1/+3
2013-12-18inet: make no_pmtu_disc per namespace and kill ipv4_configHannes Frederic Sowa1-1/+1
2013-09-28ipv4: processing ancillary IP_TOS or IP_TTLFrancesco Fusco1-0/+5
2013-06-03icmp: avoid allocating large struct on stackCong Wang1-17/+23
2013-06-03] icmp: fix icmp_unreach() comment.Rami Rosen1-1/+2
2013-05-28ipv4: Correct comparisons and calculations using skb->tail and skb-transport_...Simon Horman1-1/+2
2013-05-25net: ipv6: Add IPv6 support to the ping socket.Lorenzo Colitti1-2/+3
2013-04-29net: Add MIB counters for checksum errorsEric Dumazet1-1/+3
2013-02-22ipv4: fix error handling in icmp_protocol.Li Wei1-0/+23
2012-11-26ipv4: avoid passing NULL to inet_putpeer() in icmpv4_xrlim_allow()Neal Cardwell1-1/+2
2012-07-23ipv4: Prepare for change of rt->rt_iif encoding.David S. Miller1-1/+1
2012-07-23ipv4: Really ignore ICMP address requests/replies.David S. Miller1-82/+2
2012-07-12ipv4: Put proper checks into icmp_socket_deliver().David S. Miller1-6/+6
2012-07-11ipv4: Kill ip_rt_redirect().David S. Miller1-1/+0
2012-07-11ipv4: Rearrange arguments to ip_rt_redirect()David S. Miller1-30/+6
2012-07-11ipv4: Deliver ICMP redirects to sockets too.David S. Miller1-7/+1
2012-07-11ipv4: Pull icmp socket delivery out into a helper function.David S. Miller1-15/+16
2012-07-10inet: Minimize use of cached route inetpeer.David S. Miller1-1/+2
2012-06-28ipv4: Create and use fib_compute_spec_dst() helper.David S. Miller1-2/+4
2012-06-19inet: Sanitize inet{,6} protocol demux.David S. Miller1-5/+4
2012-06-11ipv4: Kill ip_rt_frag_needed().David S. Miller1-3/+1
2012-06-08inet: Create and use rt{,6}_get_peer_create().David S. Miller1-3/+2
2012-05-15net: Convert net_ratelimit uses to net_<level>_ratelimitedJoe Perches1-11/+9
2012-03-28Remove all #inclusions of asm/system.hDavid Howells1-1/+0
2012-03-12net: ipv4: Standardize prefixes for message loggingJoe Perches1-2/+4
2012-03-11net: Convert printks to pr_<level>Joe Perches1-11/+8
2011-10-13net: more accurate skb truesizeEric Dumazet1-3/+2
2011-07-22icmp: Fix regression in nexthop resolution during replies.David S. Miller1-6/+8
2011-05-18ipv4: Pass explicit destination address to rt_bind_peer().David S. Miller1-4/+4
2011-05-13net: ipv4: add IPPROTO_ICMP socket kindVasiliy Kulikov1-1/+11
2011-05-10ipv4: icmp: Eliminate remaining uses of rt->rt_srcDavid S. Miller1-3/+3
2011-05-08ipv4: Pass flow key down into ip_append_*().David S. Miller1-1/+1
2011-05-08ipv4: Pass flow keys down into datagram packet building engine.David S. Miller1-38/+36
2011-04-28inet: add RCU protection to inet->optEric Dumazet1-12/+11
2011-04-22inet: constify ip headers and in6_addrEric Dumazet1-6/+6
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
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-28/+31
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-5/+7
2011-03-04ipv4: Remove flowi from struct rtable.David S. Miller1-1/+1
2011-03-02ipv4: Make output route lookup return rtable directly.David S. Miller1-7/+12
2011-03-02xfrm: Return dst directly from xfrm_lookup()David S. Miller1-22/+14
2011-03-01ipv4: Make icmp route lookup code a bit clearer.David S. Miller1-79/+96
2011-02-04inetpeer: Move ICMP rate limiting state into inet_peer entries.David S. Miller1-41/+8
2010-11-19Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-0/+3
2010-11-17net: use the macros defined for the members of flowiChangli Gao1-19/+9
2010-11-16xfrm: update flowi saddr in icmp_send if unsetUlrich Weber1-0/+3
2010-11-11ipv4: Make rt->fl.iif tests lest obscure.David S. Miller1-2/+2
2010-08-19net: simplify flags for tx timestampingOliver Hartkopp1-2/+2
2010-07-12net/ipv4: EXPORT_SYMBOL cleanupsEric Dumazet1-4/+3
2010-06-10net-next: remove useless union keywordChangli Gao1-9/+9
2010-06-09icmp: RCU conversion in icmp_address_reply()Eric Dumazet1-7/+5
2010-05-17net: add a noref bit on skb dstEric Dumazet1-3/+3
2010-04-11Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-0/+1
2010-04-03icmp: Account for ICMP out errorsEric Dumazet1-2/+3
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-01-23icmp: move icmp_err_convert[] to .rodataAlexey Dobriyan1-1/+1
2009-11-01icmp: icmp_send() can avoid a dev_put()Eric Dumazet1-4/+5
2009-10-05icmp: No need to call sk_write_space()Eric Dumazet1-0/+4
2009-09-14net: constify struct net_protocolAlexey Dobriyan1-1/+1
2009-06-03net: skb->dst accessorsEric Dumazet1-5/+5
2009-06-03net: skb->rtable accessorEric Dumazet1-5/+5
2009-02-22netns: Fix icmp shutdown.Eric W. Biederman1-1/+1
2009-02-15ip: support for TX timestamps on UDP and RAW socketsPatrick Ohly1-0/+2
2008-11-25netns xfrm: lookup in netnsAlexey Dobriyan1-2/+2
2008-11-24net: avoid a pair of dst_hold()/dst_release() in ip_append_data()Eric Dumazet1-4/+4
2008-10-31net: replace NIPQUAD() in net/ipv4/ net/ipv6/Harvey Harrison1-14/+10
2008-10-28net: reduce structures when XFRM=nAlexey Dobriyan1-1/+2
2008-10-13net: Rationalise email address: Network Specific PartsAlan Cox1-1/+1
2008-08-23icmp: icmp_sk() should not use smp_processor_id() in preemptible codeDenis V. Lunev1-8/+14
2008-07-18mib: put icmpmsg statistics on struct netPavel Emelyanov1-5/+0
2008-07-18mib: put icmp statistics on struct netPavel Emelyanov1-2/+0
2008-07-14mib: add struct net to ICMPMSGIN_INC_STATS_BHPavel Emelyanov1-1/+1
2008-07-14mib: add struct net to ICMPMSGOUT_INC_STATSPavel Emelyanov1-1/+1
2008-07-14mib: add struct net to ICMP_INC_STATS_BHPavel Emelyanov1-5/+5
2008-07-14mib: add struct net to ICMP_INC_STATSPavel Emelyanov1-1/+1
2008-07-14inet: toss struct net initialization aroundPavel Emelyanov1-3/+1
2008-07-14icmp: add struct net argument to icmp_out_countPavel Emelyanov1-1/+1
2008-06-11net: remove CVS keywordsAdrian Bunk1-2/+0
2008-04-29ipv4: Update MTU to all related cache entries in ip_rt_frag_needed()Timo Teras1-1/+2
2008-04-21[IPV4]: Convert do_gettimeofday() to getnstimeofday().YOSHIFUJI Hideaki1-4/+4
2008-04-21[IPV4]: Make icmp_sk_init() static.Adrian Bunk1-1/+1
2008-04-14[IPV4]: Use NIPQUAD_FMT to format ipv4 addresses.YOSHIFUJI Hideaki1-6/+6
2008-04-14Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-11/+13
2008-04-03[ICMP]: Simplify ICMP control socket creation.Denis V. Lunev1-18/+7
2008-04-03[ICMP]: Ensure that ICMP relookup maintains status quoHerbert Xu1-11/+13
2008-03-27Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/...David S. Miller1-3/+3
2008-03-26[ICMP]: Dst entry leak in icmp_send host re-lookup code (v2).Pavel Emelyanov1-3/+3
2008-03-26[NETNS][ICMP]: Build fix for NET_NS=n case (dev->nd_net is omitted).Pavel Emelyanov1-2/+2
2008-03-26[NETNS][ICMP]: Use per-net sysctls in ipv4/icmp.c.Pavel Emelyanov1-9/+16
2008-03-26[NETNS][ICMP]: Move ICMP sysctls on struct net.Pavel Emelyanov1-29/+31
2008-03-26[NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS.YOSHIFUJI Hideaki1-4/+4
2008-03-05[IPV4]: Add 'rtable' field in struct sk_buff to alias 'dst' and avoid castsEric Dumazet1-5/+5
2008-02-29[ICMP]: Section conflict between icmp_sk_init/icmp_sk_exit.Denis V. Lunev1-1/+3
2008-02-29[NETNS]: Make icmp_sk per namespace.Denis V. Lunev1-17/+32
2008-02-29[NETNS]: icmp(v6)_sk should not pin a namespace.Denis V. Lunev1-8/+4
2008-02-29[ICMP]: Allocate data for __icmp(v6)_sk dynamically.Denis V. Lunev1-5/+10
2008-02-29[ICMP]: Pass proper ICMP socket into icmp(v6)_xmit_(un)lock.Denis V. Lunev1-9/+10
2008-02-29[ICMP]: Store sock rather than socket for ICMP flow control.Denis V. Lunev1-14/+13
2008-02-29[ICMP]: Optimize icmp_socket usage.Denis V. Lunev1-12/+17