aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-09ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addrJiri Benc1-3/+4
2024-03-22ipv6: Fix address dump when IPv6 is disabled on an interfaceIdo Schimmel1-2/+3
2024-03-08ipv6: remove RTNL protection from inet6_dump_addr()Eric Dumazet1-3/+6
2024-03-08ipv6: use xa_array iterator to implement inet6_dump_addr()Eric Dumazet1-49/+30
2024-03-08ipv6: make in6_dump_addrs() locklessEric Dumazet1-9/+5
2024-03-08ipv6: make inet6_fill_ifaddr() locklessEric Dumazet1-29/+37
2024-03-07netlink: let core handle error cases in dump operationsEric Dumazet1-6/+1
2024-03-01ipv6: use xa_array iterator to implement inet6_netconf_dump_devconf()Eric Dumazet1-58/+44
2024-03-01ipv6/addrconf: annotate data-races around devconf fields (II)Eric Dumazet1-23/+26
2024-03-01ipv6/addrconf: annotate data-races around devconf fields (I)Eric Dumazet1-30/+37
2024-03-01ipv6: addrconf_disable_policy() optimizationEric Dumazet1-7/+6
2024-03-01ipv6: annotate data-races around devconf->disable_policyEric Dumazet1-1/+1
2024-03-01ipv6: annotate data-races around devconf->proxy_ndpEric Dumazet1-1/+2
2024-03-01ipv6: annotate data-races around idev->cnf.ignore_routes_with_linkdownEric Dumazet1-4/+4
2024-03-01ipv6: annotate data-races around cnf.forwardingEric Dumazet1-4/+6
2024-03-01ipv6: annotate data-races around cnf.mtu6Eric Dumazet1-2/+2
2024-03-01ipv6: addrconf_disable_ipv6() optimizationEric Dumazet1-7/+6
2024-03-01ipv6: annotate data-races around cnf.disable_ipv6Eric Dumazet1-4/+5
2024-02-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+4
2024-02-28inet6: expand rcu_read_lock() scope in inet6_dump_addr()Eric Dumazet1-4/+4
2024-02-26ipv6: anycast: complete RCU handling of struct ifacaddr6Eric Dumazet1-2/+2
2024-02-26ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()Eric Dumazet1-3/+4
2024-02-26ipv6: switch inet6_dump_ifinfo() to RCU protectionEric Dumazet1-1/+1
2024-02-26ipv6: use xarray iterator to implement inet6_dump_ifinfo()Eric Dumazet1-27/+19
2024-02-26ipv6: prepare inet6_fill_ifinfo() for RCU protectionEric Dumazet1-4/+7
2024-02-26ipv6: prepare inet6_fill_ifla6_attrs() for RCUEric Dumazet1-74/+89
2024-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+18
2024-02-18ipv6: properly combine dev_base_seq and ipv6.dev_addr_genidEric Dumazet1-3/+18
2024-02-15net: ipv6/addrconf: clamp preferred_lft to the minimum requiredAlex Henrie1-9/+34
2024-02-15net: ipv6/addrconf: introduce a regen_min_advance sysctlAlex Henrie1-1/+10
2024-02-15net: ipv6/addrconf: ensure that regen_advance is at least 2 secondsAlex Henrie1-6/+9
2024-02-14net-sysfs: convert dev->operstate reads to lockless onesEric Dumazet1-1/+1
2024-02-12net/ipv6: set expires in modify_prefix_route() if RTF_EXPIRES is set.Kui-Feng Lee1-1/+1
2024-02-12net/ipv6: Remove expired routes with a separated list of routes.Kui-Feng Lee1-7/+34
2024-02-02ipv6: make addrconf_wq single threadedEric Dumazet1-1/+2
2024-01-02Revert "net: ipv6/addrconf: clamp preferred_lft to the minimum required"Alex Henrie1-13/+5
2023-12-08net: ipv6: support reporting otherwise unknown prefix flags in RTM_NEWPREFIXMaciej Żenczykowski1-5/+1
2023-10-25net: ipv6/addrconf: clamp preferred_lft to the minimum requiredAlex Henrie1-5/+13
2023-10-25net: ipv6/addrconf: clamp preferred_lft to the maximum allowedAlex Henrie1-0/+1
2023-10-03net: add sysctl to disable rfc4862 5.5.3e lifetime handlingPatrick Rohr1-13/+25
2023-09-07Merge tag 'net-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-1/+1
2023-09-04net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddrAlex Henrie1-1/+1
2023-08-29Merge tag 'sysctl-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+2
2023-08-20net: release reference to inet6_dev pointerPatrick Rohr1-1/+1
2023-08-15networking: Update to register_net_sysctl_szJoel Granados1-1/+2
2023-07-28net: change accept_ra_min_rtr_lft to affect all RA lifetimesPatrick Rohr1-5/+8
2023-07-28IPv6: add extack info for IPv6 address add/deleteHangbin Liu1-23/+54
2023-07-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+10
2023-07-24ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary...Maciej Żenczykowski1-4/+10
2023-07-23net: add sysctl accept_ra_min_rtr_lftPatrick Rohr1-0/+10
2023-07-09ipv6/addrconf: fix a potential refcount underflow for idevZiyang Xuan1-2/+1
2023-06-04ipv6: lower "link become ready"'s level messageMatthieu Baerts1-2/+2
2023-03-24ipv6: prevent router_solicitations for team portXin Long1-1/+2
2023-03-21neighbour: switch to standard rcu, instead of rcu_bhEric Dumazet1-7/+7
2023-02-01ip/ip6_gre: Fix non-point-to-point tunnel not generating IPv6 link local addressThomas Winter1-5/+5
2023-02-01ip/ip6_gre: Fix changing addr gen mode not generating IPv6 link local addressThomas Winter1-22/+27
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-2/+2
2022-12-12net: add IFF_NO_ADDRCONF and use it in bonding to prevent ipv6 addrconfXin Long1-2/+2
2022-11-18treewide: use get_random_u32_inclusive() when possibleJason A. Donenfeld1-3/+3
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-4/+4
2022-10-20Merge tag 'net-6.1-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-0/+2
2022-10-18ip6mr: fix UAF issue in ip6mr_sk_done() when addrconf_init_net() failedZhengchao Shao1-0/+2
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-4/+4
2022-09-05bonding: add all node mcast address when slave upHangbin Liu1-2/+6
2022-08-24net: Fix data-races around sysctl_devconf_inherit_init_net.Kuniyuki Iwashima1-3/+2
2022-07-21net: ipv6: avoid accepting values greater than 2 for accept_untracked_naJaehee Park1-3/+3
2022-07-15net: ipv6: new accept_untracked_na option to accept na only if in-networkJaehee Park1-1/+1
2022-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+2
2022-06-29ipv6: fix lockdep splat in in6_dump_addrs()Eric Dumazet1-2/+2
2022-06-28ipv6/addrconf: fix timing bug in tempaddr regenSam Edwards1-29/+33
2022-06-27ipv6: take care of disable_policy when restoring routesNicolas Dichtel1-4/+0
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-2/+2
2022-05-31net/ipv6: Expand and rename accept_unsolicited_na to accept_untracked_naArun Ajith S1-3/+3
2022-05-25Merge tag 'net-next-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-11/+40
2022-05-18random32: use real rng for non-deterministic randomnessJason A. Donenfeld1-2/+0
2022-05-04memcg: accounting for objects allocated for new netdeviceVasily Averin1-4/+4
2022-05-02ipv6: Don't send rs packets to the interface of ARPHRD_TUNNELjianghaoran1-1/+2
2022-04-22net/ipv6: Enforce limits for accept_unsolicited_na sysctlArun Ajith S1-1/+1
2022-04-17net/ipv6: Introduce accept_unsolicited_na knob to implement router-side chang...Arun Ajith S1-0/+10
2022-04-06ipv6: fix locking issues with loops over idev->addr_listNiels Dossche1-6/+24
2022-03-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+6
2022-02-28net: ipv6: ensure we call ipv6_mc_down() at most oncej.nixdorf@avm.de1-2/+6
2022-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2022-02-24ipv6: prevent a possible race condition with lifetimesNiels Dossche1-0/+2
2022-02-18net: Add new protocol attribute to IP addressesJacques de Laval1-6/+21
2022-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2022-02-17ipv6/addrconf: ensure addrconf_verify_rtnl() has completedEric Dumazet1-1/+1
2022-02-14ipv6: blackhole_netdev needs snmp6 countersIdo Schimmel1-9/+9
2022-02-14ipv6: mcast: use rcu-safe version of ipv6_get_lladdr()Ignat Korchagin1-2/+2
2022-02-11ipv6: give an IPv6 dev to blackhole_netdevEric Dumazet1-46/+32
2022-02-08ipv6/addrconf: switch to per netns inet6_addr_lst hash tableEric Dumazet1-54/+23
2022-02-08ipv6/addrconf: use one delayed work per netnsEric Dumazet1-20/+24
2022-02-08ipv6/addrconf: allocate a per netns hash tableEric Dumazet1-0/+20
2022-02-07ip6mr: fix use-after-free in ip6mr_sk_done()Eric Dumazet1-0/+2
2022-02-05ipv6: make mc_forwarding atomicEric Dumazet1-2/+2
2022-01-27Revert "ipv6: Honor all IPv6 PIO Valid Lifetime values"Guillaume Nault1-7/+20
2021-12-06ipv6: add net device refcount tracker to struct inet6_devEric Dumazet1-2/+2
2021-11-01net: ndisc: introduce ndisc_evict_nocarrier sysctl parameterJames Prestwood1-0/+12
2021-10-22gre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE...Stephen Suryaputra1-0/+3
2021-10-13ipv6: constify dev_addr passingJakub Kicinski1-2/+2
2021-09-05ip/ip6_gre: use the same logic as SIT interfaces when computing v6LL addressAntonio Quartulli1-10/+18
2021-08-27ipv6: add IFLA_INET6_RA_MTU to expose mtu valueRocco Yue1-0/+10
2021-08-05net: Remove redundant if statementsYajun Deng1-4/+2
2021-08-04net: add extack arg for link opsRocco Yue1-2/+3
2021-07-22ipv6: fix "'ioam6_if_id_max' defined but not used" warnMatthieu Baerts1-2/+1
2021-07-21ipv6: ioam: Data plane support for Pre-allocated TraceJustin Iurman1-0/+37
2021-07-20memcg: enable accounting for IP address and routing-related objectsVasily Averin1-1/+1
2021-07-15ipv6: remove unnecessary local variableRocco Yue1-4/+2
2021-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-06-08net: ipv4: Remove unneed BUG() functionZheng Yongjun1-1/+1
2021-05-31ipv6: align code with contextRocco Yue1-4/+4
2021-04-16mld: fix suspicious RCU usage in __ipv6_dev_mc_dec()Taehee Yoo1-0/+2
2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+26
2021-04-08ipv6: report errors for iftoken via netlink extackStephen Hemminger1-6/+26
2021-03-28ipv6: addrconf.c: Fix a typoBhaskar Chowdhury1-1/+1
2021-03-26mld: convert ifmcaddr6 to RCUTaehee Yoo1-4/+5
2021-01-26net: allow user to set metric on default route learned via Router AdvertisementPraveen Chaudhary1-0/+11
2021-01-18ipv6: set multicast flag on the multicast routeMatteo Croce1-1/+1
2021-01-18ipv6: create multicast route with RTPROT_KERNELMatteo Croce1-0/+1
2020-11-19Merge https://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+6
2020-11-13ipv6: Fix error path to cancel the meseageZhang Qilong1-2/+6
2020-11-02net: ipv6: For kerneldoc warnings with W=1Xin Long1-0/+1
2020-08-18ipv6: some fixes for ipv6_dev_find()Xin Long1-37/+23
2020-08-05ipv6: add ipv6_dev_find()Xin Long1-0/+39
2020-08-03ipv6/addrconf: use a boolean to choose between UNREGISTER/DOWNFlorent Fourcot1-12/+12
2020-08-03ipv6/addrconf: call addrconf_ifdown with consistent valuesFlorent Fourcot1-1/+1
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-151/+120
2020-05-19ipv6: use ->ndo_tunnel_ctl in addrconf_set_dstaddrChristoph Hellwig1-7/+2
2020-05-19ipv6: streamline addrconf_set_dstaddrChristoph Hellwig1-49/+38
2020-05-19ipv6: stub out even more of addrconf_set_dstaddr if SIT is disabledChristoph Hellwig1-2/+3
2020-05-16netns: enable to inherit devconf from current netnsNicolas Dichtel1-3/+20
2020-05-08crypto: lib/sha1 - rename "sha" to "sha1"Eric Biggers1-5/+5
2020-05-06ipv6: Implement draft-ietf-6man-rfc4941bisFernando Gont1-52/+39
2020-05-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-20/+13
2020-04-28net: ipv6: new arg skip_notify to ip6_rt_delRoopa Prabhu1-6/+6
2020-04-28Merge branch 'work.sysctl' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/...Daniel Borkmann1-20/+13
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-20/+13
2020-04-23ipv6: Honor all IPv6 PIO Valid Lifetime valuesFernando Gont1-20/+7
2020-04-02neigh: support smaller retrans_time setttingHangbin Liu1-3/+4
2020-04-01ipv6: don't auto-add link-local address to lag portsJarod Wilson1-0/+4
2020-03-29net: ipv6: add support for rpl sr exthdrAlexander Aring1-0/+10
2020-03-29addrconf: add functionality to check on rpl requirementsAlexander Aring1-0/+53
2020-03-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-11/+40
2020-03-12inet: Use fallthrough;Joe Perches1-4/+2
2020-03-10ipv6/addrconf: call ipv6_mc_up() for non-Ethernet interfaceHangbin Liu1-0/+4
2020-03-03net/ipv6: remove the old peer route if change it to a new oneHangbin Liu1-4/+17
2020-03-03net/ipv6: need update peer route when modify metricHangbin Liu1-4/+16
2020-02-29net/ipv6: use configured metric when add peer routeHangbin Liu1-3/+3
2020-02-07ipv6/addrconf: fix potential NULL deref in inet6_set_link_af()Eric Dumazet1-0/+3
2019-12-13ipv6/addrconf: only check invalid header values when NETLINK_F_STRICT_CHK is setHangbin Liu1-4/+4
2019-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+12
2019-10-04ipv6: Handle missing host route in __ipv6_ifa_notifyDavid Ahern1-5/+12
2019-10-04Revert "ipv6: Handle race in addrconf_dad_work"David Ahern1-6/+5
2019-10-01ipv6: Handle race in addrconf_dad_workDavid Ahern1-5/+6
2019-10-01ipv6: minor code reorg in inet6_fill_ifla6_attrs()Nicolas Dichtel1-4/+3
2019-08-23ipv6: propagate ipv6_add_dev's error returns out of ipv6_find_idevSabrina Dubroca1-8/+8
2019-08-21ipv6/addrconf: allow adding multicast addr if IFA_F_MCAUTOJOIN is setHangbin Liu1-1/+2
2019-07-18proc/sysctl: add shared variables for range checkMatteo Croce1-4/+2
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+1
2019-06-04ipv6: Plumb support for nexthop object in a fib6_infoDavid Ahern1-0/+5
2019-06-02net: use new in_dev_ifa iteratorsFlorian Westphal1-3/+1
2019-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-22/+35
2019-05-31Merge tag 'spdx-5.2-rc3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/g...Linus Torvalds1-5/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-24ipv6: Make fib6_nh optional at the end of fib6_infoDavid Ahern1-3/+3
2019-05-24ipv6: Move pcpu cached routes to fib6_nhDavid Ahern1-3/+3
2019-05-22Validate required parameters in inet6_validate_link_afMaxim Mikityanskiy1-22/+35
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-17/+19
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-1/+1
2019-04-08net: Replace nhc_has_gw with nhc_gw_familyDavid Ahern1-1/+1
2019-03-29ipv6: Rename fib6_nh entriesDavid Ahern1-1/+1
2019-03-29ipv6: Move gateway checks to a fib6_nh settingDavid Ahern1-12/+13
2019-03-04net: ignore sysctl_devconf_inherit_init_net without SYSCTLArnd Bergmann1-1/+2
2019-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2019-02-11net: fix IPv6 prefix route residueZhiqiang Liu1-1/+2
2019-01-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+4
2019-01-22net/ipv6: lower the level of "link is not ready" messagesLubomir Rintel1-2/+2
2019-01-22net/ipv6: don't return positive numbers when nothing was dumpedJakub Kicinski1-0/+2
2019-01-22net: introduce a knob to control whether to inherit devconf configCong Wang1-0/+5
2019-01-19net: ipv6: netconf: perform strict checks also for doit handlersJakub Kicinski1-3/+38
2019-01-19net: ipv6: addr: perform strict checks also for doit handlersJakub Kicinski1-2/+47
2019-01-04netlink: fixup regression in RTM_GETADDRArthur Gautier1-1/+1
2018-12-30net/ipv6: Fix a test against 'ipv6_find_idev()' return valueChristophe JAILLET1-2/+2
2018-12-06net: core: dev: Add extack argument to dev_open()Petr Machata1-1/+1
2018-11-23net/ipv6: re-do dad when interface has IFF_NOARP flag changeHangbin Liu1-6/+13
2018-10-25net/{ipv4,ipv6}: Do not put target net if input nsid is invalidBjørn Mork1-0/+1
2018-10-24net/ipv6: Put target net when address dump fails due to bad attributesDavid Ahern1-6/+8
2018-10-22net/ipv6: Add support for dumping addresses for a specific deviceDavid Ahern1-5/+22
2018-10-22net/ipv6: Remove ip_idx arg to in6_dump_addrsDavid Ahern1-10/+6
2018-10-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+4
2018-10-20net/ipv6: Fix index counter for unicast addresses in in6_dump_addrsDavid Ahern1-2/+4
2018-10-08net: Update netconf dump handlers for strict data checkingDavid Ahern1-3/+19
2018-10-08rtnetlink: Update inet6_dump_ifinfo for strict data checkingDavid Ahern1-0/+35
2018-10-08net/ipv6: Update inet6_dump_addr for strict data checkingDavid Ahern1-10/+59
2018-10-08net/ipv6: Refactor address dump to push inet6_fill_args to in6_dump_addrsDavid Ahern1-27/+30
2018-10-08net: Add extack to nlmsg_parseDavid Ahern1-1/+1
2018-09-25Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+1
2018-09-21net/ipv6: Display all addresses in output of /proc/net/if_inet6Jeff Barnhill1-3/+1
2018-09-19ipv6: Allow the l3mdev to be a loopbackRobert Shearman1-0/+1
2018-09-05ipv6: add inet6_fill_argsChristian Brauner1-34/+55