aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/devinet.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-07netlink: let core handle error cases in dump operationsEric Dumazet1-4/+0
2024-03-01inet: use xa_array iterator to implement inet_dump_ifaddr()Eric Dumazet1-58/+37
2024-03-01inet: prepare inet_base_seq() to run without RTNLEric Dumazet1-1/+1
2024-03-01inet: annotate data-races around ifa->ifa_flagsEric Dumazet1-9/+13
2024-03-01inet: annotate data-races around ifa->ifa_preferred_lftEric Dumazet1-8/+8
2024-03-01inet: annotate data-races around ifa->ifa_valid_lftEric Dumazet1-8/+8
2024-03-01inet: annotate data-races around ifa->ifa_tstamp and ifa->ifa_cstampEric Dumazet1-10/+13
2024-02-28inet: use xa_array iterator to implement inet_netconf_dump_devconf()Eric Dumazet1-58/+43
2024-02-28inet: do not use RTNL in inet_netconf_get_devconf()Eric Dumazet1-12/+15
2024-02-28inet: annotate devconf data-racesEric Dumazet1-10/+11
2024-02-18ipv4: properly combine dev_base_seq and ipv4.dev_addr_genidEric Dumazet1-4/+17
2023-09-08net: ipv4: fix one memleak in __inet_del_ifa()Liu Jian1-5/+5
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-21IPv4: add extack info for IPv4 address add/deleteHangbin Liu1-3/+20
2023-08-15networking: Update to register_net_sysctl_szJoel Granados1-1/+2
2023-03-23net: ipv4: Allow changing IPv4 address protocolPetr Machata1-0/+3
2022-11-30net: devinet: Reduce refcount before grace periodEric Dumazet1-9/+10
2022-08-24net: Fix data-races around sysctl_devconf_inherit_init_net.Kuniyuki Iwashima1-6/+10
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-2/+2
2022-05-25Merge tag 'net-next-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-1/+1
2022-05-18random32: use real rng for non-deterministic randomnessJason A. Donenfeld1-3/+1
2022-05-04memcg: accounting for objects allocated for new netdeviceVasily Averin1-1/+1
2022-02-18net: Add new protocol attribute to IP addressesJacques de Laval1-0/+7
2021-12-06ipv4: add net device refcount tracker to struct in_deviceEric Dumazet1-2/+2
2021-11-15net: return correct error codeliuguoqiang1-1/+1
2021-11-01net: arp: introduce arp_evict_nocarrier sysctl parameterJames Prestwood1-0/+4
2021-08-04net: add extack arg for link opsRocco Yue1-2/+3
2021-07-23net: socket: remove register_gifconfArnd Bergmann1-3/+1
2021-07-20net: ipv4: add capability check for net administrationYang Yang1-3/+7
2021-07-20memcg: enable accounting for IP address and routing-related objectsVasily Averin1-1/+1
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-10rtnetlink: avoid RCU read lock when holding RTNLCong Wang1-2/+2
2021-04-08ipv6: report errors for iftoken via netlink extackStephen Hemminger1-1/+2
2020-11-16treewide: rename nla_strlcpy to nla_strscpy.Francis Laniel1-1/+1
2020-11-10net: ipv4: remove redundant initialization in inet_rtm_deladdrMenglong Dong1-2/+1
2020-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2020-05-30devinet: fix memleak in inetdev_init()Yang Yingliang1-0/+1
2020-05-16netns: enable to inherit devconf from current netnsNicolas Dichtel1-5/+18
2020-04-28Merge branch 'work.sysctl' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/...Daniel Borkmann1-6/+3
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-6/+3
2020-04-09net: ipv4: devinet: Fix crash when add/del multicast IP with autojoinTaras Chornyi1-4/+9
2020-03-12inet: Use fallthrough;Joe Perches1-3/+3
2019-12-07inet: protect against too small mtu values.Eric Dumazet1-5/+0
2019-07-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+8
2019-07-01ipv4: don't set IPv6 only flags to IPv4 addressesMatteo Croce1-0/+8
2019-06-27net: ipv4: fix infinite loop on secondary addr promotionFlorian Westphal1-1/+2
2019-06-24ipv4: fix confirm_addr_indev() when enable route_localnetShijie Luo1-2/+8
2019-06-24ipv4: fix inet_select_addr() when enable route_localnetShijie Luo1-1/+5
2019-06-17net: ipv4: remove erroneous advancement of list pointerFlorian Westphal1-2/+1
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+1
2019-06-04net: ipv4: fix rcu lockdep splat due to wrong annotationFlorian Westphal1-1/+1
2019-06-02net: ipv4: provide __rcu annotation for ifa_listFlorian Westphal1-31/+57
2019-06-02devinet: use in_dev_for_each_ifa_rcu in more placesFlorian Westphal1-8/+19
2019-06-02net: inetdevice: provide replacement iterators for in_ifaddr walkFlorian Westphal1-15/+16
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-12/+15
2019-03-04net: ignore sysctl_devconf_inherit_init_net without SYSCTLArnd Bergmann1-1/+3
2019-01-22net: introduce a knob to control whether to inherit devconf configCong Wang1-23/+20
2019-01-19net: ipv4: netconf: perform strict checks also for doit handlersJakub Kicinski1-4/+39
2019-01-04netlink: fixup regression in RTM_GETADDRArthur Gautier1-1/+1
2018-12-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+3
2018-12-14net: Allow class-e address assignment via ifconfig ioctlDave Taht1-2/+3
2018-12-06net: core: dev: Add extack argument to dev_change_flags()Petr Machata1-1/+1
2018-10-25net/{ipv4,ipv6}: Do not put target net if input nsid is invalidBjørn Mork1-0/+1
2018-10-24net/ipv4: Put target net when address dump fails due to bad attributesDavid Ahern1-5/+8
2018-10-22net/ipv4: Add support for dumping addresses for a specific deviceDavid Ahern1-5/+23
2018-10-22net/ipv4: Move loop over addresses on a device into in_dev_dump_addrDavid Ahern1-15/+34
2018-10-08net: Update netconf dump handlers for strict data checkingDavid Ahern1-3/+19
2018-10-08net/ipv4: Update inet_dump_ifaddr for strict data checkingDavid Ahern1-11/+61
2018-10-08net: Add extack to nlmsg_parseDavid Ahern1-4/+5
2018-09-05ipv4: add inet_fill_argsChristian Brauner1-15/+33
2018-09-05ipv4: enable IFA_TARGET_NETNSID for RTM_GETADDRChristian Brauner1-8/+30
2018-07-29route: add support for directed broadcast forwardingXin Long1-0/+11
2018-05-29net/ipv4: Add support for specifying metric of connected routesDavid Ahern1-0/+15
2018-01-29ipv4: Get the address of interface correctly.Tonghao Zhang1-0/+4
2018-01-24devinet_ioctl(): take copyin/copyout to callerAl Viro1-26/+15
2018-01-24net: separate SIOCGIFCONF handling from dev_ioctl()Al Viro1-7/+9
2017-12-13ipv4: igmp: guard against silly MTU valuesEric Dumazet1-1/+1
2017-10-20net: Add extack to validator_info structs used for address notifierDavid Ahern1-3/+5
2017-10-18ipv4: mark expected switch fall-throughsGustavo A. R. Silva1-0/+1
2017-10-16net: core: rcu-ify rtnl af_opsFlorian Westphal1-2/+2
2017-09-21net: avoid a full fib lookup when rp_filter is disabled.Paolo Abeni1-12/+18
2017-08-09rtnetlink: make rtnl_register accept a flags parameterFlorian Westphal1-4/+4
2017-07-01net: convert in_device.refcnt from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-06-09Ipvlan should return an error when an address is already in use.Krister Johansen1-0/+33
2017-04-17net: rtnetlink: plumb extended ack to doit functionDavid Ahern1-5/+8
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-5/+7
2017-03-28net: devinet: Add support for RTM_DELNETCONFDavid Ahern1-11/+21
2017-03-28net: devinet: Refactor inet_netconf_notify_devconf to take eventDavid Ahern1-12/+20
2017-03-12net: Eliminate duplicated codes by creating one new function in_dev_select_addrGao Feng1-14/+18
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+1
2017-02-02net: ipv4: remove fib_lookup.h from devinet.c include listDavid Ahern1-2/+0
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-09-01netconf: add a notif when settings are createdNicolas Dichtel1-4/+7
2016-07-09ipv4: do not abuse GFP_ATOMIC in inet_netconf_notify_devconf()Eric Dumazet1-6/+6
2016-03-13ipv4: Don't do expensive useless work during inetdev destroy.David S. Miller1-0/+4
2016-03-13netconf: add macro to represent all attributesZhang Shengju1-17/+23
2016-02-26net: l3mdev: prefer VRF master for source address selectionDavid Lamparter1-0/+17
2016-02-26net: l3mdev: address selection should only consider devices in L3 domainDavid Ahern1-0/+5
2016-02-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-02-19rtnl: RTM_GETNETCONF: fix wrong return valueAnton Protopopov1-1/+1
2016-02-11ipv4: add option to drop gratuitous ARP packetsJohannes Berg1-0/+2
2016-02-11ipv4: add option to drop unicast encapsulated in L2 multicastJohannes Berg1-0/+2
2015-10-21netlink: Rightsize IFLA_AF_SPEC size calculationArad, Ronen1-2/+2
2015-09-15rtnetlink: RTEXT_FILTER_SKIP_STATS support to avoid dumping inet/inet6 statsSowmini Varadhan1-1/+2
2015-07-28net/ipv4: suppress NETDEV_UP notification on address lifetime updateDavid Ward1-1/+0
2015-07-08ipv4: add support for linkdown sysctl to netconfAndy Gospodarek1-0/+13
2015-06-24net: ipv4 sysctl option to ignore routes when nexthop link is downAndy Gospodarek1-0/+2
2015-04-03ipv4: coding style: comparison for inequality with NULLIan Morris1-1/+1
2015-04-03ipv4: coding style: comparison for equality with NULLIan Morris1-20/+20
2015-03-31netlink: implement nla_get_in_addr and nla_get_in6_addrJiri Benc1-5/+5
2015-03-31netlink: implement nla_put_in_addr and nla_put_in6_addrJiri Benc1-3/+3
2015-03-18ipv4, ipv6: kill ip_mc_{join, leave}_group and ipv6_sock_mc_{join, drop}Marcelo Ricardo Leitner1-2/+2
2015-03-18netns: constify net_hash_mix() and various callersEric Dumazet1-1/+1
2015-02-27multicast: Extend ip address command to enable multicast group join/leave onMadhu Challa1-0/+31
2015-02-14net: spelling fixesStephen Hemminger1-1/+1
2015-01-30net: mark some potential candidates __read_mostlyDaniel Borkmann1-1/+1
2015-01-18netlink: Fix bugs in nlmsg_end() conversions.David S. Miller1-3/+3
2015-01-18netlink: make nlmsg_end() and genlmsg_end() voidJohannes Berg1-3/+5
2014-07-29ipv4: fail early when creating netdev named all or defaultWANG Cong1-9/+27
2014-05-18ipv4: minor spelling fixstephen hemminger1-1/+1
2014-05-08ipv4: remove inet_addr_hash_lock in devinet.cWANG Cong1-5/+2
2014-02-06ipv4: Fix runtime WARNING in rtmsg_ifa()Geert Uytterhoeven1-1/+2
2014-01-22net/ipv4: queue work on power efficient wqviresh kumar1-4/+6
2014-01-14net: replace macros net_random and net_srandom with direct calls to prandomAruna-Hewapathirane1-1/+1
2014-01-07ipv4: loopback device: ignore value changes after device is uppedJiri Pirko1-0/+2
2013-12-22netconf: rename PROXY_ARP to NEIGH_PROXYstephen hemminger1-5/+5
2013-12-14netconf: add proxy-arp supportstephen hemminger1-12/+29
2013-12-11ipv4: fix wildcard search with inet_confirm_addr()Nicolas Dichtel1-5/+4
2013-12-10ipv4: add support for IFA_FLAGS nl attributeJiri Pirko1-2/+6
2013-12-09neigh: restore old behaviour of default parms valuesJiri Pirko1-0/+2
2013-12-09neigh: use tbl->family to distinguish ipv4 from ipv6Jiri Pirko1-1/+1
2013-08-09net: igmp: Allow user-space configuration of igmp unsolicited report intervalWilliam Manley1-0/+8
2013-08-09net: igmp: Don't flush routing cache when force_igmp_version is modifiedWilliam Manley1-2/+2
2013-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2013-08-02net: rtm_to_ifaddr: free ifa if ifa_cacheinfo processing failsDaniel Borkmann1-1/+3
2013-07-30net: remove an unneeded checkDan Carpenter1-4/+1
2013-06-13net: Convert uses of typedef ctl_table to struct ctl_tableJoe Perches1-3/+3
2013-06-12igmp: hash a hash table to speedup ip_check_mc_rcu()Eric Dumazet1-0/+1
2013-05-28net: pass info struct via netdevice notifierJiri Pirko1-1/+1
2013-04-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-16/+44
2013-04-08net: ipv4: fix schedule while atomic bug in check_lifetime()Jiri Pirko1-16/+42
2013-04-08net: ipv4: reset check_lifetime_work after changing lifetimeJiri Pirko1-0/+2
2013-04-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+4
2013-04-05net: ipv4: notify when address lifetime changesJiri Pirko1-2/+4
2013-03-24ipv4: provide addr and netconf dump consistency infoNicolas Dichtel1-0/+6
2013-03-22rtnetlink: Remove passing of attributes into rtnl_doit functionsThomas Graf1-4/+3
2013-03-06netconf: add the handler to dump entriesNicolas Dichtel1-1/+69
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-7/+3
2013-01-29ipv4: introduce address lifetimeJiri Pirko1-5/+210
2013-01-06ipv4: fix NULL checking in devinet_ioctl()Xi Wang1-1/+1
2012-12-04netconf: advertise mc_forwarding statusNicolas Dichtel1-2/+8
2012-11-18net: Enable a userns root rtnl calls that are safe for unprivilged usersEric W. Biederman1-6/+0
2012-11-18net: Enable some sysctls that are safe for the userns rootEric W. Biederman1-8/+0
2012-11-18net: Allow userns root to control ipv4Eric W. Biederman1-2/+2
2012-11-18net: Push capable(CAP_NET_ADMIN) into the rtnl methodsEric W. Biederman1-0/+6
2012-11-18net: Don't export sysctls to unprivileged usersEric W. Biederman1-0/+8
2012-11-01rtnl/ipv4: use netconf msg to advertise rp_filter statusNicolas Dichtel1-0/+24
2012-10-28rtnl/ipv4: add support of RTM_GETNETCONFNicolas Dichtel1-2/+73
2012-10-28rtnl/ipv4: use netconf msg to advertise forwarding statusNicolas Dichtel1-4/+89
2012-09-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2012-09-21net: change return values from -EACCES to -EPERMZhao Hongjiang1-2/+2
2012-09-18ipv4/route: arg delay is useless in rt_cache_flush()Nicolas Dichtel1-3/+3
2012-09-10netlink: Rename pid to portid to avoid confusionEric W. Biederman1-14/+14
2012-09-07ipv4/route: arg delay is useless in rt_cache_flush()Nicolas Dichtel1-3/+3
2012-08-23net: reinstate rtnl in call_netdevice_notifiers()Eric Dumazet1-5/+1
2012-08-22net: remove delay at device dismantleEric Dumazet1-1/+5
2012-08-04ipv4: change inet_addr_hash()Eric Dumazet1-21/+18
2012-06-12ipv4: Add interface option to enable routing of 127.0.0.0/8Thomas Graf1-1/+4
2012-05-16net: ipv4 and ipv6: Convert printk(KERN_DEBUG to pr_debugJoe Perches1-3/+2
2012-04-20net ipv4: Convert devinet to use register_net_sysctlEric W. Biederman1-34/+5
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-1/+1
2012-04-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+0
2012-04-02ipv4: Stop using NLA_PUT*().David S. Miller1-11/+9
2012-03-28Merge tag 'split-asm_system_h-for-linus-20120328' of git://git.kernel.org/pub...Linus Torvalds1-1/+0
2012-03-28Remove all #inclusions of asm/system.hDavid Howells1-1/+0
2012-03-22bonding: remove entries for master_ip and vlan_ip and query devices insteadAndy Gospodarek1-0/+1
2012-01-12net: reintroduce missing rcu_assign_pointer() callsEric Dumazet1-1/+1
2011-12-01ipv4: flush route cache after change accept_localPeter Pan(潘卫平)1-0/+5
2011-08-02rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTERStephen Hemminger1-3/+3
2011-07-25IPv4: Send gratuitous ARP for secondary IP addresses alsoZoltan Kiss1-8/+8
2011-06-09rtnetlink: Compute and store minimum ifinfo dump sizeGreg Rose1-3/+3
2011-05-10net: fix two lockdep splatsEric Dumazet1-2/+2
2011-05-02sysctl: net: call unregister_net_sysctl_table where neededLucian Adrian Grijincu1-1/+1
2011-03-23ipv4: Fallback to FIB local table in __ip_dev_find().David S. Miller1-0/+16
2011-03-22ipv4: optimize route adding on secondary promotionJulian Anastasov1-1/+2
2011-03-22ipv4: remove the routes on secondary promotionJulian Anastasov1-0/+11
2011-03-10Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-3/+3
2011-03-09ipv4: Fix erroneous uses of ifa_address.David S. Miller1-3/+3
2011-03-03ipv4: Fix __ip_dev_find() to use ifa_local instead of ifa_address.David S. Miller1-2/+2
2011-02-19Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-10/+20
2011-02-18ipv4: Implement __ip_dev_find using new interface address hash.David S. Miller1-0/+33
2011-02-18ipv4: Add hash table of interface addresses.David S. Miller1-0/+45
2011-02-14arp_notify: unconditionally send gratuitous ARP for NETDEV_NOTIFY_PEERS.Ian Campbell1-10/+20
2010-12-12ipv4: Don't pre-seed hoplimit metric.David S. Miller1-3/+3
2010-12-06net: kill an RCU warning in inet_fill_link_af()Eric Dumazet1-4/+4
2010-11-27rtnl: make link af-specific updates atomicThomas Graf1-5/+21
2010-11-17ipv4: AF_INET link address familyThomas Graf1-0/+75
2010-10-19inet: RCU changes in inetdev_by_index()Eric Dumazet1-3/+4