aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-14ipv6: clean up routes when manually removing address with a lifetimeJakub Kicinski1-1/+1
2025-09-02ipv6: Add sanity checks on ipv6_devconf.rpl_seg_enabledYue Haibing1-1/+3
2025-07-30Merge tag 'net-next-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-14/+92
2025-07-28Merge tag 'libcrypto-updates-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-1/+1
2025-07-25ipv6: add `force_forwarding` sysctl to enable per-interface forwardingGabriel Goller1-0/+82
2025-07-18net: s/dev_get_flags/netif_get_flags/Stanislav Fomichev1-1/+1
2025-07-14lib/crypto: sha1: Rename sha1_init() to sha1_init_raw()Eric Biggers1-1/+1
2025-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+2
2025-07-10gre: Fix IPv6 multicast route creation.Guillaume Nault1-7/+2
2025-07-08ipv6: anycast: Don't use rtnl_dereference().Kuniyuki Iwashima1-2/+0
2025-07-08ipv6: mcast: Use in6_dev_get() in ipv6_dev_mc_dec().Kuniyuki Iwashima1-2/+1
2025-07-08ipv6: mcast: Check inet6_dev->dead under idev->mc_lock in __ipv6_dev_mc_inc().Kuniyuki Iwashima1-4/+3
2025-06-19ipv6: Simplify link-local address generation for IPv6 GRE.Guillaume Nault1-5/+5
2025-06-08treewide, timers: Rename from_timer() to timer_container_of()timers-cleanups-2025-06-08Ingo Molnar1-1/+1
2025-05-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+9
2025-05-05gre: Fix again IPv6 link-local address generation.Guillaume Nault1-6/+9
2025-04-16ipv6: Use nlmsg_payload in addrconf fileBreno Leitao1-2/+2
2025-04-15ipv6: Use nlmsg_payload in inet6_rtm_valid_getaddr_reqBreno Leitao1-2/+2
2025-04-15ipv6: Use nlmsg_payload in inet6_valid_dump_ifaddr_reqBreno Leitao1-2/+2
2025-04-10Merge tag 'net-6.15-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-4/+5
2025-04-07ipv6: Fix null-ptr-deref in addrconf_add_ifaddr().Kuniyuki Iwashima1-4/+5
2025-04-05treewide: Switch/rename to timer_delete[_sync]()Thomas Gleixner1-1/+1
2025-04-03net: use netif_disable_lro in ipv6_add_devStanislav Fomichev1-2/+13
2025-04-03ipv6: fix omitted netlink attributes when using RTEXT_FILTER_SKIP_STATSFernando Fernandez Mancera1-12/+25
2025-03-20Revert "gre: Fix IPv6 link-local address generation."Guillaume Nault1-9/+6
2025-03-13gre: Fix IPv6 link-local address generation.Guillaume Nault1-6/+9
2025-01-20ipv6: Convert inet6_rtm_deladdr() to per-netns RTNL.Kuniyuki Iwashima1-4/+8
2025-01-20ipv6: Convert inet6_rtm_newaddr() to per-netns RTNL.Kuniyuki Iwashima1-8/+17
2025-01-20ipv6: Move lifetime validation to inet6_rtm_newaddr().Kuniyuki Iwashima1-58/+35
2025-01-20ipv6: Set cfg.ifa_flags before device lookup in inet6_rtm_newaddr().Kuniyuki Iwashima1-7/+7
2025-01-20ipv6: Pass dev to inet6_addr_add().Kuniyuki Iwashima1-10/+10
2025-01-20ipv6: Convert inet6_ioctl() to per-netns RTNL.Kuniyuki Iwashima1-6/+6
2025-01-20ipv6: Hold rtnl_net_lock() in addrconf_init() and addrconf_cleanup().Kuniyuki Iwashima1-5/+5
2025-01-20ipv6: Hold rtnl_net_lock() in addrconf_dad_work().Kuniyuki Iwashima1-3/+6
2025-01-20ipv6: Hold rtnl_net_lock() in addrconf_verify_work().Kuniyuki Iwashima1-2/+2
2025-01-20ipv6: Convert net.ipv6.conf.${DEV}.XXX sysctl to per-netns RTNL.Kuniyuki Iwashima1-30/+30
2025-01-09netlink: add IPv6 anycast join/leave notificationsYuyang Huang1-3/+3
2024-12-23netlink: correct nlmsg size for multicast notificationsYuyang Huang1-1/+0
2024-12-15netlink: add IGMP/MLD join/leave notificationsYuyang Huang1-20/+9
2024-12-01ipv6: avoid possible NULL deref in modify_prefix_route()Eric Dumazet1-6/+7
2024-11-26net/ipv6: delete temporary address if mngtmpaddr is removed or unmanagedHangbin Liu1-12/+29
2024-11-11net: convert to nla_get_*_default()Johannes Berg1-5/+2
2024-10-22rtnetlink: Return int from rtnl_af_register().Kuniyuki Iwashima1-1/+4
2024-10-15ipv6: Use rtnl_register_many().Kuniyuki Iwashima1-34/+23
2024-10-09ipv6: switch inet6_addr_hash() to less predictable hashEric Dumazet1-1/+1
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro1-1/+1
2024-08-21ipv6: remove redundant checkXi Huang1-6/+3
2024-08-15ip: Move INFINITY_LIFE_TIME to addrconf.h.Kuniyuki Iwashima1-2/+0
2024-07-31Add support for PIO p flagPatrick Rohr1-1/+14
2024-07-24sysctl: treewide: constify the ctl_table argument of proc_handlersJoel Granados1-8/+8
2024-07-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2024-07-14ipv6: take care of scope when choosing the src addrNicolas Dichtel1-1/+2
2024-05-28net/ipv6/addrconf: constify ctl_table arguments of utility functionsThomas Weißschuh1-4/+4
2024-05-03net: ipv{6,4}: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-5/+3
2024-04-22sysctl: treewide: constify ctl_table_header::ctl_table_argThomas Weißschuh1-1/+1
2024-04-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+4
2024-04-09ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addrJiri Benc1-3/+4
2024-04-01ip_tunnel: use a separate struct to store tunnel params in the kernelAlexander Lobakin1-1/+2
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