aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inet_diag.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-25tcp: introduce icsk->icsk_keepalive_timerEric Dumazet1-2/+2
2025-11-25tcp: rename icsk_timeout() to tcp_timeout_expires()Eric Dumazet1-2/+2
2025-08-29inet_diag: avoid cache line misses in inet_diag_bc_sk()Eric Dumazet1-21/+31
2025-08-29inet_diag: change inet_diag_bc_sk() first argumentEric Dumazet1-1/+2
2025-08-29inet_diag: annotate data-races in inet_diag_bc_sk()Eric Dumazet1-7/+7
2025-08-29inet_diag: annotate data-races in inet_diag_msg_common_fill()Eric Dumazet1-9/+9
2025-08-25tcp: Move TCP-specific diag functions to tcp_diag.c.Kuniyuki Iwashima1-479/+0
2025-08-25tcp: Don't pass hashinfo to inet_diag helpers.Kuniyuki Iwashima1-5/+5
2025-08-25tcp: Don't pass hashinfo to socket lookup helpers.Kuniyuki Iwashima1-3/+3
2025-08-25tcp: annotate data-races around icsk->icsk_probes_outEric Dumazet1-2/+2
2025-08-25tcp: annotate data-races around icsk->icsk_retransmitsEric Dumazet1-1/+1
2025-06-23net: remove sock_i_uid()Eric Dumazet1-1/+1
2025-04-24net: cgroup: Guard users of sock_cgroup_classid()Michal Koutný1-1/+1
2025-04-11net: Retire DCCP socket.Kuniyuki Iwashima1-2/+0
2025-03-25tcp/dccp: remove icsk->icsk_timeoutEric Dumazet1-2/+2
2025-02-19net: dismiss sk_forward_alloc_get()Paolo Abeni1-1/+1
2024-10-04tcp: annotate data-races around icsk->icsk_pendingEric Dumazet1-4/+6
2024-08-28tcp: remove volatile qualifier on tw_substateEric Dumazet1-2/+2
2024-07-04inet_diag: Initialize pad field in struct inet_diag_req_v2Shigeru Yoshida1-0/+2
2024-01-23inet_diag: skip over empty bucketsEric Dumazet1-0/+8
2024-01-23sock_diag: allow concurrent operation in sock_diag_rcv_msg()Eric Dumazet1-2/+7
2024-01-23sock_diag: add module pointer to "struct sock_diag_handler"Eric Dumazet1-0/+2
2024-01-23inet_diag: allow concurrent operationsEric Dumazet1-40/+40
2024-01-23inet_diag: annotate data-races around inet_diag_table[]Eric Dumazet1-3/+3
2023-12-22tcp: Link sk and twsk to tb2->owners using skc_bind_node.Kuniyuki Iwashima1-1/+1
2023-12-04tcp: Dump bound-only sockets in inet_diag.Guillaume Nault1-1/+85
2023-11-19net: fill in MODULE_DESCRIPTION()s for SOCK_DIAG modulesJakub Kicinski1-0/+1
2023-10-01inet: implement lockless IP_TOSEric Dumazet1-1/+1
2023-10-01net: implement lockless SO_PRIORITYEric Dumazet1-1/+1
2023-08-16inet: move inet->defer_connect to inet->inet_flagsEric Dumazet1-1/+1
2023-08-16inet: move inet->bind_address_no_port to inet->inet_flagsEric Dumazet1-1/+1
2023-08-16inet: move inet->nodefrag to inet->inet_flagsEric Dumazet1-1/+1
2023-08-16inet: move inet->is_icsk to inet->inet_flagsEric Dumazet1-1/+1
2023-08-16inet: move inet->transparent to inet->inet_flagsEric Dumazet1-1/+1
2023-08-16inet: move inet->mc_all to inet->inet_fragsEric Dumazet1-1/+1
2023-08-16inet: move inet->mc_loop to inet->inet_fragsEric Dumazet1-1/+1
2023-08-16inet: move inet->hdrincl to inet->inet_flagsEric Dumazet1-1/+1
2023-08-16inet: move inet->freebind to inet->inet_flagsEric Dumazet1-1/+1
2023-08-16inet: move inet->recverr_rfc4884 to inet->inet_flagsEric Dumazet1-1/+1
2023-08-16inet: move inet->recverr to inet->inet_flagsEric Dumazet1-1/+1
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-2/+2
2022-05-12net: inet: Retire port only listening_hashMartin KaFai Lau1-2/+3
2021-12-10inet_diag: fix kernel-infoleak for UDP socketsEric Dumazet1-3/+1
2021-10-27net: introduce sk_forward_alloc_get()Paolo Abeni1-1/+1
2021-07-13net: Use nlmsg_unicast() instead of netlink_unicast()Yajun Deng1-4/+1
2021-06-16inet_diag: add support for tw_markMaciej Żenczykowski1-2/+10
2020-11-17inet_diag: Fix error path to cancel the meseage in inet_req_diag_fill()Wang Hai1-1/+3
2020-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+15
2020-09-21inet_diag: validate INET_DIAG_REQ_PROTOCOL attributeEric Dumazet1-5/+15
2020-09-03ip: expose inet sockopts through inet_diagWei Wang1-0/+17
2020-07-09inet_diag: support for wider protocol numbersPaolo Abeni1-17/+48
2020-05-02inet_diag: bc: read cgroup id only for full socketsDmitry Yakunin1-1/+2
2020-04-30inet_diag: add support for cgroup filterDmitry Yakunin1-0/+31
2020-04-30inet_diag: add cgroup id attributeDmitry Yakunin1-0/+7
2020-03-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-24/+20
2020-03-08inet_diag: return classid for all socket typesDmitry Yakunin1-24/+20
2020-02-27bpf: inet_diag: Dump bpf_sk_storages in inet_diag_dump()Martin KaFai Lau1-0/+74
2020-02-27inet_diag: Move the INET_DIAG_REQ_BYTECODE nlattr to cb->dataMartin KaFai Lau1-47/+70
2020-02-27inet_diag: Refactor inet_sk_diag_fill(), dump(), and dump_one()Martin KaFai Lau1-72/+44
2019-12-13tcp/dccp: fix possible race __inet_lookup_established()Eric Dumazet1-1/+2
2019-11-06inet_diag: use jiffies_delta_to_msecs()Eric Dumazet1-9/+6
2019-10-13tcp: annotate sk->sk_wmem_queued lockless readsEric Dumazet1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-02-12inet_diag: fix reporting cgroup classid and fallback to priorityKonstantin Khlebnikov1-1/+9
2018-12-20tcp: fix a race in inet_diag_dump_icsk()Eric Dumazet1-1/+3
2018-03-12sock_diag: request _diag module only when the family or proto has been regist...Xin Long1-2/+1
2018-01-02inet_diag: Add equal-operator for portsKristian Evensen1-0/+8
2017-09-01inet_diag: allow protocols to provide additional dataIvan Delalande1-4/+18
2017-08-18net: inet: diag: expose sockets cgroup classidLevin, Alexander (Sasha Levin)1-0/+11
2017-01-13tcp: remove early retransmitYuchung Cheng1-1/+0
2017-01-13tcp: add reordering timer in RACK loss detectionYuchung Cheng1-0/+1
2016-11-09tcp: no longer hold ehash lock while calling tcp_get_info()Eric Dumazet1-15/+33
2016-10-23net: ip, diag -- Add diag interface for raw socketsCyrill Gorcunov1-0/+9
2016-10-20tcp: relax listening_hash operationsEric Dumazet1-12/+4
2016-09-08net: inet: diag: expose the socket mark to privileged processes.Lorenzo Colitti1-16/+33
2016-08-24net: diag: allow socket bytecode filters to match socket marksLorenzo Colitti1-3/+33
2016-08-24net: diag: slightly refactor the inet_diag_bc_audit error checks.Lorenzo Colitti1-11/+17
2016-06-28net: diag: Add support to filter on device indexDavid Ahern1-0/+25
2016-04-26sock_diag: align nlattr properly when neededNicolas Dichtel1-3/+6
2016-04-21net: use jiffies_to_msecs to replace EXPIRES_IN_MS in inet/sctp_diagXin Long1-6/+6
2016-04-15sctp: export some functions for sctp_diag in inet_diagXin Long1-26/+41
2016-04-04tcp/dccp: do not touch listener sk_refcnt under synfloodEric Dumazet1-2/+1
2016-04-04tcp/dccp: use rcu locking in inet_diag_find_one_icsk()Eric Dumazet1-2/+5
2016-03-14net: diag: add a scheduling point in inet_diag_dump_icsk()Eric Dumazet1-0/+1
2016-02-11inet: refactor inet[6]_lookup functions to take skbCraig Gallek1-3/+3
2016-01-20net: diag: support v4mapped sockets in inet_diag_find_one_icsk()Eric Dumazet1-7/+14
2015-12-15net: diag: Support SOCK_DESTROY for inet sockets.Lorenzo Colitti1-8/+15
2015-12-15net: diag: split inet_diag_dump_one_icsk into twoLorenzo Colitti1-15/+27
2015-10-03tcp/dccp: install syn_recv requests into ehash tableEric Dumazet1-88/+8
2015-10-03tcp: move qlen/young out of struct listen_sockEric Dumazet1-1/+1
2015-07-10net: inet_diag: always export IPV6_V6ONLY sockopt for listening socketsPhil Sutter1-2/+2
2015-06-24net: inet_diag: export IPV6_V6ONLY sockoptPhil Sutter1-0/+4
2015-06-23inet_diag: Remove _bh suffix in inet_diag_dump_reqs().Hiroaki SHIMODA1-2/+2
2015-06-21sock_diag: fetch source port from inet_sockCraig Gallek1-0/+2
2015-06-15sock_diag: implement a get_info handler for inetCraig Gallek1-0/+46
2015-06-15sock_diag: specify info_size per inet protocolCraig Gallek1-2/+2
2015-04-29tcp: prepare CC get_info() access from getsockopt()Eric Dumazet1-3/+5
2015-04-17inet_diag: fix access to tcp cc informationEric Dumazet1-6/+22
2015-04-13tcp/dccp: get rid of central timewait timerEric Dumazet1-2/+2
2015-03-23net: convert syn_wait_lock to a spinlockEric Dumazet1-2/+2
2015-03-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+15
2015-03-20inet: get rid of central tcp/dccp listener timerEric Dumazet1-2/+2
2015-03-18inet: request sock should init IPv6/IPv4 addressesEric Dumazet1-2/+2
2015-03-16inet_diag: allow sk_diag_fill() to handle request socksEric Dumazet1-67/+53
2015-03-14inet_diag: factorize code in new inet_diag_msg_common_fill() helperEric Dumazet1-101/+47
2015-03-14inet_diag: adjust inet_sk_diag_fill() bug conditionEric Dumazet1-1/+1
2015-03-14inet: fill request sock ir_iif for IPv4Eric Dumazet1-1/+1
2015-03-13inet_diag: fix possible overflow in inet_diag_dump_one_icsk()Eric Dumazet1-3/+15
2015-03-12inet: introduce ireq_familyEric Dumazet1-1/+1
2015-03-12inet: get_openreq4() & get_openreq6() do not need listenerEric Dumazet1-2/+1
2015-03-11net: add real socket cookiesEric Dumazet1-5/+9
2015-03-10inet_diag: add const to inet_diag_req_v2Eric Dumazet1-11/+11
2015-03-10inet_diag: cleanupsEric Dumazet1-73/+71
2015-03-05inet_diag: remove duplicate code from inet_twsk_diag_dump()Eric Dumazet1-24/+31
2015-01-18netlink: make nlmsg_end() and genlmsg_end() voidJohannes Berg1-3/+6
2014-01-13inet_diag: fix inet_diag_dump_icsk() to use correct state for timewait socketsNeal Cardwell1-1/+4
2013-12-19net: inet_diag: zero out uninitialized idiag_{src,dst} fieldsDaniel Borkmann1-0/+16
2013-10-17inet_diag: use sock_gen_put()Eric Dumazet1-6/+3
2013-10-10inet: includes a sock_common in request_sockEric Dumazet1-11/+11
2013-10-09ipv6: make lookups simpler and fasterEric Dumazet1-20/+15
2013-10-08tcp/dccp: remove twchainEric Dumazet1-35/+13
2013-10-03tcp: shrink tcp6_timewait_sock by one cache lineEric Dumazet1-3/+3
2013-04-19netlink: rename ssk to sk in struct netlink_skb_paramsPatrick McHardy1-3/+3
2013-03-12tcp: Tail loss probe (TLP)Nandita Dukkipati1-1/+3
2012-12-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+4
2012-12-09inet_diag: validate port comparison byte code to prevent unsafe readsNeal Cardwell1-7/+24
2012-12-09inet_diag: avoid unsafe and nonsensical prefix matches in inet_diag_bc_run()Neal Cardwell1-11/+17
2012-12-09inet_diag: validate byte code to prevent oops in inet_diag_bc_run()Neal Cardwell1-3/+45
2012-12-09inet_diag: fix oops for IPv4 AF_INET6 TCP SYN-RECV stateNeal Cardwell1-14/+39
2012-11-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+4
2012-11-04net: inet_diag -- Return error code if protocol handler is missedCyrill Gorcunov1-1/+4
2012-11-03tcp: better retrans tracking for defer-acceptEric Dumazet1-1/+1
2012-10-23sock-diag: Report shutdown for inet and unix sockets (v2)Pavel Emelyanov1-0/+3
2012-09-10netlink: Rename pid to portid to avoid confusionEric W. Biederman1-16/+16
2012-08-14userns: Teach inet_diag to work with user namespacesEric W. Biederman1-6/+15
2012-07-16net: make sock diag per-namespaceAndrey Vagin1-5/+16
2012-06-27inet_diag: Do not use RTA_PUT() macrosThomas Graf1-59/+53
2012-06-26inet_diag: Move away from NLMSG_PUT().David S. Miller1-19/+24
2012-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2012-04-25net: sock_diag_handler structs can be constShan Wei1-2/+2
2012-04-25udp_diag: implement idiag_get_info for udp/udplite to get queue informationShan Wei1-1/+1
2012-02-26netlink: add netlink_dump_control structure for netlink_dump_start()Pablo Neira Ayuso1-6/+12
2012-01-11inet_diag: Rename inet_diag_req_compat into inet_diag_reqPavel Emelyanov1-4/+4
2012-01-11inet_diag: Rename inet_diag_req into inet_diag_req_v2Pavel Emelyanov1-17/+17
2011-12-30inet_diag: Add the SKMEMINFO extensionPavel Emelyanov1-0/+4
2011-12-16sock_diag: Generalize requests cookies managementsPavel Emelyanov1-19/+4
2011-12-16sock_diag: Fix module netlink aliasesPavel Emelyanov1-3/+4
2011-12-11net: use IS_ENABLED(CONFIG_IPV6)Eric Dumazet1-8/+8
2011-12-09inet_diag: Generalize inet_diag dump and get_exact callsPavel Emelyanov1-5/+6
2011-12-09inet_diag: Introduce the inet socket dumping routinePavel Emelyanov1-19/+34
2011-12-09inet_diag: Introduce the byte-code run on an inet socketPavel Emelyanov1-24/+31
2011-12-09inet_diag: Split inet_diag_get_exact into partsPavel Emelyanov1-12/+16
2011-12-09inet_diag: Split inet_diag_get_exact into partsPavel Emelyanov1-16/+22
2011-12-09inet_diag: Export inet diag cookie checking routinePavel Emelyanov1-5/+14
2011-12-09inet_diag: Reduce the number of args for bytecode run routinePavel Emelyanov1-6/+8
2011-12-09inet_diag: Remove indirect sizeof from inet diag handlersPavel Emelyanov1-3/+2
2011-12-06sock_diag: Move the sock_ code to net/core/Pavel Emelyanov1-99/+6
2011-12-06inet_diag: Cleanup type2proto last userPavel Emelyanov1-23/+24
2011-12-06inet_diag: Introduce socket family checksPavel Emelyanov1-1/+11
2011-12-06inet_diag: Switch the _dump to work with new headerPavel Emelyanov1-18/+53
2011-12-06inet_diag: Switch the _get_exact to work with new headerPavel Emelyanov1-7/+22
2011-12-06inet_diag: Introduce new inet_diag_req headerPavel Emelyanov1-7/+7
2011-12-06sock_diag: Initial skeletonPavel Emelyanov1-2/+100
2011-12-06inet_diag: Switch from _GETSOCK to IPPROTO_ numbersPavel Emelyanov1-11/+23
2011-12-06inet_diag: Move byte-code finding up the call-stackPavel Emelyanov1-19/+17
2011-12-06sock_diag: Introduce new message typePavel Emelyanov1-2/+15
2011-12-06inet_diag: Partly rename inet_ to sock_Pavel Emelyanov1-14/+19
2011-11-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+6
2011-11-22net: remove ipv6_addr_copy()Alexey Dobriyan1-12/+6
2011-11-22net-netlink: fix diag to export IPv4 tos for dual-stack IPv6 socketsMaciej Żenczykowski1-5/+9
2011-11-14net-netlink: Add a new attribute to expose TCLASS values via netlinkMaciej Żenczykowski1-2/+2
2011-10-12net-netlink: Add a new attribute to expose TOS values via netlinkMurali Raja1-0/+5
2011-06-20Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-8/+6
2011-06-17inet_diag: fix inet_diag_bc_audit()Eric Dumazet1-8/+6
2011-06-09rtnetlink: Compute and store minimum ifinfo dump sizeGreg Rose1-1/+1
2011-04-22inet: constify ip headers and in6_addrEric Dumazet1-1/+1
2011-01-19Revert "netlink: test for all flags of the NLM_F_DUMP composite"David S. Miller1-1/+1
2011-01-09netlink: test for all flags of the NLM_F_DUMP compositeJan Engelhardt1-1/+1
2010-11-04inet_diag: Make sure we actually run the same bytecode we audited.Nelson Elhage1-11/+16
2010-09-23net: return operator cleanupEric Dumazet1-1/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-01-19netlink: With opcode INET_DIAG_BC_S_LE dport was compared in inet_diag_bc_run()Roel Kluin1-1/+1
2009-10-18inet: rename some inet_sock fieldsEric Dumazet1-13/+13
2009-10-13tcp: replace ehash_size by ehash_maskEric Dumazet1-1/+1
2009-06-18net: correct off-by-one write allocations reportsEric Dumazet1-2/+2
2009-04-28inet_diag: Remove dup assignmentsArnaldo Carvalho de Melo1-2/+0
2008-11-23net: Convert TCP/DCCP listening hash tables to use RCUEric Dumazet1-2/+2
2008-11-21inet_diag: Missed conversion after changing inet ehash lockl to spinlocks.David S. Miller1-5/+5
2008-11-20net: listening_hash get a spinlock per bucketEric Dumazet1-5/+7
2008-11-16net: Convert TCP & DCCP hash tables to use RCU / hlist_nullsEric Dumazet1-3/+4
2008-10-16net: Remove CONFIG_KMOD from net/ (towards removing CONFIG_KMOD entirely)Johannes Berg1-2/+0
2008-08-28inet_diag: Add empty bucket optimization to inet_diag tooAndi Kleen1-1/+5
2008-06-11net: remove CVS keywordsAdrian Bunk1-2/+0
2008-01-31[NETNS]: Tcp-v6 sockets per-net lookup.Pavel Emelyanov1-1/+1
2008-01-31[NETNS]: Tcp-v4 sockets per-net lookup.Pavel Emelyanov1-1/+1
2008-01-31[INET_DIAG]: Fix inet_diag_lock_handler error path.Arnaldo Carvalho de Melo1-5/+6
2008-01-28[NETNS]: Consolidate kernel netlink socket destruction.Denis V. Lunev1-1/+1
2007-12-03[INET]: Fix inet_diag dead-lock regressionHerbert Xu1-21/+46
2007-11-30[INET]: Fix inet_diag register vs rcv racePavel Emelyanov1-9/+5
2007-11-07[INET]: Remove per bucket rwlock in tcp/dccp ehash table.Eric Dumazet1-4/+5