aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/hard-interface.c
AgeCommit message (Expand)AuthorFilesLines
2023-08-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+13
2023-08-03batman-adv: Check hardif MTU against runtime MTUSven Eckelmann1-7/+13
2023-07-20batman-adv: Don't increase MTU when set by userSven Eckelmann1-1/+13
2023-07-20batman-adv: Trigger events for auto adjusted MTUSven Eckelmann1-1/+1
2022-08-20batman-adv: Fix hang up with small MTU hard-interfaceShigeru Yoshida1-0/+4
2022-05-22net: wrap the wireless pointers in struct net_device in an ifdefJakub Kicinski1-0/+2
2022-03-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+20
2022-03-02batman-adv: Don't expect inter-netns unique iflink indicesSven Eckelmann1-5/+14
2022-03-02batman-adv: Request iflink once in batadv_get_real_netdeviceSven Eckelmann1-4/+5
2022-03-02batman-adv: Request iflink once in batadv-on-batadv checkSven Eckelmann1-4/+5
2022-03-02batman-adv: Demote batadv-on-batadv skip error messageSven Eckelmann1-2/+2
2022-03-02batman-adv: Migrate to linux/container_of.hSven Eckelmann1-1/+1
2021-08-08batman-adv: Drop NULL check before dropping referencesSven Eckelmann1-14/+7
2021-06-02batman-adv: Drop reduntant batadv interface checkSven Eckelmann1-9/+0
2021-06-02batman-adv: Don't manually reattach hard-interfaceSven Eckelmann1-34/+0
2021-06-02batman-adv: Avoid name based attaching of hard interfacesSven Eckelmann1-10/+4
2021-06-02batman-adv: Drop implicit creation of batadv net_devicesSven Eckelmann1-10/+2
2021-06-02batman-adv: Fix spelling mistakesZheng Yongjun1-1/+1
2021-02-06batman-adv: Drop publication years from copyright infoSven Eckelmann1-1/+1
2020-12-04batman-adv: Drop legacy code for auto deleting mesh interfacesSven Eckelmann1-6/+2
2020-12-04batman-adv: Drop deprecated debugfs supportSven Eckelmann1-10/+0
2020-12-04batman-adv: Drop deprecated sysfs supportSven Eckelmann1-15/+1
2020-12-04batman-adv: Add new include for min/max helpersSven Eckelmann1-0/+1
2020-11-27batman-adv: Consider fragmentation for needed_headroomSven Eckelmann1-0/+3
2020-08-18batman-adv: Drop repeated words in commentsSven Eckelmann1-1/+1
2020-08-18batman-adv: Drop unused function batadv_hardif_remove_interfaces()Sven Eckelmann1-17/+0
2020-06-26batman-adv: Introduce a configurable per interface hop penaltyLinus Lüssing1-0/+2
2020-06-26batman-adv: Fix typos and grammar in documentationSven Eckelmann1-7/+7
2020-05-22batman-adv: use rcu_replace_pointer() where appropriateAntonio Quartulli1-2/+2
2020-01-01batman-adv: Update copyright years for 2020Sven Eckelmann1-1/+1
2019-10-13batman-adv: Avoid free/alloc race when handling OGM bufferSven Eckelmann1-0/+2
2019-07-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+3
2019-06-27batman-adv: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-5/+1
2019-06-02batman-adv: Fix duplicated OGMs on NETDEV_UPSven Eckelmann1-0/+3
2019-05-25batman-adv: Fix includes for *_MAX constantsSven Eckelmann1-0/+1
2019-03-25batman-adv: Drop license boilerplateSven Eckelmann1-12/+0
2019-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+3
2019-01-04batman-adv: Update copyright years for 2019Sven Eckelmann1-1/+1
2018-12-30batman-adv: Avoid WARN on net_device without parent in netnsSven Eckelmann1-2/+3
2018-11-12batman-adv: Add inconsistent hardif netlink dump detectionSven Eckelmann1-0/+3
2018-09-15batman-adv: Move OGM rebroadcast stats to orig_ifinfoSven Eckelmann1-19/+28
2018-06-23batman-adv: Fix debugfs path for renamed softifSven Eckelmann1-6/+28
2018-06-23batman-adv: Fix debugfs path for renamed hardifSven Eckelmann1-0/+3
2018-03-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+7
2018-02-26batman-adv: Update copyright years for 2018Sven Eckelmann1-1/+1
2018-02-25batman-adv: Fix internal interface indices typesSven Eckelmann1-2/+7
2017-12-21batman-adv: Convert packet.h to uapi headerSven Eckelmann1-1/+1
2017-12-15batman-adv: Add kernel-doc to externally visible functionsSven Eckelmann1-1/+35
2017-12-15batman-adv: Use parentheses in function kernel-docSven Eckelmann1-13/+13
2017-12-15batman-adv: include gfp.h for GFP_* definesSven Eckelmann1-1/+1
2017-12-15batman-adv: Add SPDX license identifier above copyright headerSven Eckelmann1-0/+1
2017-10-06Merge tag 'batadv-next-for-davem-20171006' of git://git.open-mesh.org/linux-m...David S. Miller1-6/+6
2017-10-04net: Add extack to upper device linkingDavid Ahern1-1/+1
2017-09-28batman-adv: Remove unnecessary parenthesesSven Eckelmann1-6/+6
2017-01-26batman-adv: update copyright years for 2017Sven Eckelmann1-1/+1
2016-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2016-11-19Merge tag 'batadv-next-for-davem-20161119' of git://git.open-mesh.org/linux-m...David S. Miller1-10/+163
2016-11-09Merge tag 'batadv-next-for-davem-20161108-v2' of git://git.open-mesh.org/linu...David S. Miller1-0/+52
2016-11-08batman-adv: Update wifi flags on upper link changeSven Eckelmann1-0/+5
2016-11-08batman-adv: retrieve B.A.T.M.A.N. V WiFi neighbor stats from real interfaceMarek Lindner1-0/+22
2016-11-08batman-adv: additional checks for virtual interfaces on top of WiFiMarek Lindner1-0/+58
2016-11-08batman-adv: Cache the type of wifi device for each hardifSven Eckelmann1-15/+67
2016-11-08batman-adv: refactor wifi interface detectionMarek Lindner1-5/+21
2016-11-08batman-adv: Return non-const ptr in batadv_getlink_netSven Eckelmann1-5/+5
2016-11-04batman-adv: Revert "fix splat on disabling an interface"Sven Eckelmann1-0/+1
2016-10-30batman-adv: Simple (re)broadcast avoidanceLinus Lüssing1-0/+52
2016-10-21batman-adv: fix splat on disabling an interfaceLinus Lüssing1-1/+0
2016-08-09batman-adv: Keep batadv netdev when hardif disappearsSven Eckelmann1-1/+1
2016-08-09batman-adv: Place kref_get for hard_iface near useSven Eckelmann1-4/+2
2016-08-09batman-adv: Handle parent interfaces in a different netnsAndrew Lunn1-7/+43
2016-08-09batman-adv: Revert "postpone sysfs removal when unregistering"Sven Eckelmann1-23/+3
2016-07-04batman-adv: split routing API data structure in subobjectsAntonio Quartulli1-8/+8
2016-06-30batman-adv: Fix bat_(iv|v) function declaration headerSven Eckelmann1-1/+1
2016-06-30batman-adv: Consolidate logging related functionsSven Eckelmann1-0/+1
2016-06-30batman-adv: Keep includes ordered by filenameSven Eckelmann1-1/+1
2016-06-30batman-adv: init ELP tweaking options only onceMarek Lindner1-0/+3
2016-06-30batman-adv: remove ogm_emit and ogm_schedule API callsAntonio Quartulli1-3/+0
2016-05-10batman-adv: Use bool as return type for boolean functionsSven Eckelmann1-8/+7
2016-05-10batman-adv: Use kref_get for hard_iface subfunctionsSven Eckelmann1-4/+3
2016-05-10batman-adv: Increase hard_iface refcnt for ptypeSven Eckelmann1-0/+2
2016-05-10batman-adv: Create batman soft interfaces within correct netns.Andrew Lunn1-5/+5
2016-04-29batman-adv: B.A.T.M.A.N V - make sure iface is reactivated upon NETDEV_UP eventAntonio Quartulli1-0/+3
2016-04-24batman-adv: Deactivate TO_BE_ACTIVATED hardif on shutdownSven Eckelmann1-2/+1
2016-02-23batman-adv: Rename batadv_hardif *_free_ref function to *_putSven Eckelmann1-10/+10
2016-02-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+25
2016-02-16batman-adv: Avoid endless loop in bat-on-bat netdevice checkAndrew Lunn1-0/+25
2016-02-10batman-adv: Convert batadv_hard_iface to krefSven Eckelmann1-7/+13
2016-02-10batman-adv: Drop reference to netdevice on last referenceSven Eckelmann1-5/+8
2016-02-02batman-adv: update copyright years for 2016Sven Eckelmann1-1/+1
2016-02-02batman-adv: Fix kerneldoc parsing of return descriptionSven Eckelmann1-3/+4
2015-12-16batman-adv: add list of unique single hop neighbors per hard-interfaceMarek Lindner1-0/+4
2015-12-05batman-adv: Act on NETDEV_*_TYPE_CHANGE eventsAndrew Lunn1-1/+3
2015-12-03net: add possibility to pass information about upper device via notifierJiri Pirko1-1/+1
2015-12-03net: propagate upper priv via netdev_master_upper_dev_linkJiri Pirko1-1/+2
2015-08-27batman-adv: Add lower layer needed_(head|tail)room to own onesSven Eckelmann1-0/+41
2015-08-27batman-adv: don't access unregistered net_device objectAntonio Quartulli1-1/+2
2015-06-07batman-adv: Add required includes to all filesSven Eckelmann1-12/+26
2015-05-29batman-adv: update copyright years for 2015Sven Eckelmann1-1/+1
2015-04-02dev: introduce dev_get_iflink()Nicolas Dichtel1-2/+3
2014-05-22batman: fix a bogus warning from batadv_is_on_batman_iface()Cong Wang1-1/+1
2014-02-17batman-adv: fix soft-interface MTU computationAntonio Quartulli1-8/+14
2014-01-14batman-adv: use __dev_get_by_index instead of dev_get_by_index to find interfaceYing Xue1-3/+1
2014-01-12batman-adv: update copyright years for 2014Simon Wunderlich1-1/+1
2014-01-12batman-adv: add debugfs structure for information per interfaceSimon Wunderlich1-0/+9
2014-01-08batman-adv: remove FSF address from GPL disclaimerAntonio Quartulli1-3/+1
2013-10-23batman-adv: invoke dev_get_by_index() outside of is_wifi_iface()Antonio Quartulli1-29/+4
2013-10-23batman-adv: send GW_DEL event in case of soft-iface destructionAntonio Quartulli1-2/+7
2013-10-23batman-adv: limit local translation table max sizeMarek Lindner1-15/+26
2013-10-19batman-adv: add per VLAN interface attribute frameworkAntonio Quartulli1-0/+2
2013-10-12batman-adv: consider network coding overhead when calculating required mtuMarek Lindner1-9/+10
2013-10-12batman-adv: use htons when possibleAntonio Quartulli1-1/+1
2013-10-12batman-adv: Remove old fragmentation codeMartin Hundebøll1-1/+0
2013-10-09batman-adv: remove vis functionalitySimon Wunderlich1-9/+0
2013-05-29batman-adv: don't initialise batman_iv private members in hard-interface.cAntonio Quartulli1-7/+1
2013-05-29batman-adv: send each broadcast only once on non-wireless interfacesMatthias Schiffer1-0/+4
2013-05-29batman-adv: split batadv_is_wifi_iface() into two functionsMatthias Schiffer1-32/+52
2013-05-28net: pass info struct via netdevice notifierJiri Pirko1-1/+1
2013-03-27batman-adv: free an hard-interface before adding itAntonio Quartulli1-6/+33
2013-03-27batman-adv: Allow to modify slaves of soft-interfaces through rntl_linkSven Eckelmann1-2/+10
2013-03-27batman-adv: rename batadv_softif_destroy to reflect sysfs use caseMarek Lindner1-1/+1
2013-03-27batman-adv: Don't always delete softif when last slave was removedSven Eckelmann1-3/+5
2013-03-27batman-adv: Move soft-interface initialization to ndo_initSven Eckelmann1-0/+5
2013-01-19batman-adv: update copyright yearsAntonio Quartulli1-1/+1
2013-01-19batman-adv: postpone sysfs removal when unregisteringSimon Wunderlich1-2/+22
2012-11-30batman-adv: use ETH_P_BATMANAntonio Quartulli1-1/+2
2012-11-14batman-adv: prevent using any virtual device created on batman-adv as hard-in...Antonio Quartulli1-1/+40
2012-11-07batman-adv: Distributed ARP Table - create DHT helper functionsAntonio Quartulli1-0/+3
2012-10-29batman-adv: split hard_iface struct for each routing protocolMarek Lindner1-2/+2
2012-08-23batman-adv: Split batadv_priv in sub-structures for featuresSven Eckelmann1-2/+3
2012-08-23batman-adv: check batadv_orig_hash_add_if() return codeSimon Wunderlich1-1/+7
2012-07-01batman-adv: Fix alignment after opened parenthesesSven Eckelmann1-4/+4
2012-07-01batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h}Sven Eckelmann1-1/+1
2012-07-01batman-adv: Prefix types structs with batadv_Sven Eckelmann1-33/+38
2012-07-01batman-adv: Prefix packet structs with batadv_Sven Eckelmann1-2/+2
2012-07-01batman-adv: Prefix hard-interface enum with BATADV_Sven Eckelmann1-20/+20
2012-06-28batman-adv: Prefix main defines with BATADV_Sven Eckelmann1-1/+1
2012-06-28batman-adv: Prefix types defines with BATADV_Sven Eckelmann1-5/+6
2012-06-28batman-adv: Prefix packet defines with BATADV_Sven Eckelmann1-1/+2
2012-06-28batman-adv: Prefix remaining function like macros with batadv_Sven Eckelmann1-19/+19
2012-06-25batman-adv: Prefix hard-interface local static functions with batadv_Sven Eckelmann1-31/+33
2012-06-25batman-adv: Prefix main static inline functions with batadv_Sven Eckelmann1-2/+2
2012-06-24batman-adv: Prefix hard-interface static inline functions with batadv_Sven Eckelmann1-14/+14
2012-06-20batman-adv: Reformat multiline comments to consistent styleSven Eckelmann1-14/+9
2012-06-20batman-adv: Prefix main non-static functions with batadv_Sven Eckelmann1-7/+7
2012-06-20batman-adv: Prefix soft-interface non-static functions with batadv_Sven Eckelmann1-4/+4
2012-06-20batman-adv: Prefix send non-static functions with batadv_Sven Eckelmann1-2/+2
2012-06-20batman-adv: Prefix originator non-static functions with batadv_Sven Eckelmann1-3/+3
2012-06-20batman-adv: Prefix hard-interface non-static functions with batadv_Sven Eckelmann1-16/+16
2012-06-20batman-adv: Prefix bridge_loop_avoidance non-static functions with batadv_Sven Eckelmann1-1/+1
2012-06-20batman-adv: Prefix bat_sysfs non-static functions with batadv_Sven Eckelmann1-2/+2
2012-06-18batman-adv: Return error codes instead of -1 on failuresSven Eckelmann1-3/+1
2012-05-13batman-adv: use shorter pr_warn instead of pr_warningSven Eckelmann1-3/+3
2012-05-11batman-adv: refactoring API: find generalized name for bat_ogm_update_mac cal...Marek Lindner1-2/+2
2012-05-11batman-adv: introduce packet type handler array for incoming packetsMarek Lindner1-113/+0
2012-04-18batman-adv: use ETH_HLEN instead of sizeof(struct ethhdr)Antonio Quartulli1-2/+1
2012-04-18batman-adv: mark existing ogm variables as batman ivMarek Lindner1-1/+1
2012-04-18batman-adv: refactoring API: find generalized name for bat_ogm_init_primary c...Marek Lindner1-1/+1
2012-04-18batman-adv: handle routing code initialization properlyMarek Lindner1-9/+6
2012-04-18batman-adv: add iface_disable() callback to routing APIMarek Lindner1-2/+1
2012-04-18batman-adv: refactoring API: find generalized name for bat_ogm_init callbackMarek Lindner1-1/+1
2012-04-18batman-adv: move ogm initialization into the proper functionMarek Lindner1-1/+7
2012-04-11batman-adv: add basic bridge loop avoidance codeSimon Wunderlich1-7/+11
2012-03-11batman-adv: Ignore 80-chars per line limits for stringsSven Eckelmann1-24/+12
2012-02-28batman-adv: Fix indentation of multiline statementsSven Eckelmann1-15/+15
2012-02-17batman-adv: Update copyright yearsSven Eckelmann1-1/+1
2012-02-17batman-adv: convert batman iv algorithm to use dynamic infrastructureMarek Lindner1-5/+5
2012-02-17batman-adv: warn if added interface is part of a bridgeMarek Lindner1-0/+8
2012-02-17batman-adv: Explicitly mark the common header structureSven Eckelmann1-3/+3
2011-09-08batman-adv: Remove unnecessary OOM logging messagesJoe Perches1-4/+1
2011-09-08batman-adv: agglomerate all batman iv ogm sending functions in the batman iv ...Marek Lindner1-1/+1
2011-09-08batman-adv: move routing packet initialization into corresponding fileMarek Lindner1-32/+6
2011-09-08batman-adv: agglomerate all batman iv ogm processing functions in a single fileMarek Lindner1-1/+1
2011-09-08batman-adv: rename all instances of batman_packet to batman_ogm_packetMarek Lindner1-22/+27
2011-08-22batman-adv: detect clients connected through a 802.11 deviceAntonio Quartulli1-0/+30
2011-08-22batman-adv: correct several typ0s in the commentsAntonio Quartulli1-2/+2
2011-06-20Merge branch 'batman-adv/next' of git://git.open-mesh.org/ecsv/linux-mergeDavid S. Miller1-7/+10
2011-06-20batman-adv: improved roaming mechanismAntonio Quartulli1-0/+4
2011-06-20batman-adv: improved client announcement mechanismAntonio Quartulli1-7/+6
2011-06-09Merge branch 'batman-adv/next' of git://git.open-mesh.org/ecsv/linux-mergeDavid S. Miller1-1/+1
2011-06-09batman-adv: use NO_FLAGS define instead of hard-coding 0Marek Lindner1-1/+1
2011-06-05net: Remove unnecessary semicolonsJoe Perches1-1/+1
2011-05-30batman-adv: Use rcu_dereference_protected by update-sideSven Eckelmann1-1/+1
2011-05-30batman-adv: Calculate sizeof using variable insead of typesSven Eckelmann1-1/+1
2011-05-30batman-adv: Remove explicit casts cast from void* for storeSven Eckelmann1-1/+1
2011-05-30batman-adv: Add const type qualifier for pointersSven Eckelmann1-9/+10
2011-05-08batman-adv: rename everything from *hna* into *tt* (translation table)Antonio Quartulli1-3/+3
2011-05-08batman-adv: Remove unnecessary hardif_list_lockSven Eckelmann1-23/+7
2011-05-01batman-adv: Make bat_priv->primary_if an rcu protected pointerMarek Lindner1-26/+57
2011-03-05batman-adv: Disallow regular interface as mesh deviceSven Eckelmann1-12/+22
2011-03-05batman-adv: rename batman_if struct to hard_ifaceMarek Lindner1-176/+177
2011-03-05batman-adv: rename global if_list to hardif_listMarek Lindner1-14/+14
2011-03-05batman-adv: separate ethernet comparing calls from hash functionsMarek Lindner1-1/+1
2011-03-05batman-adv: Correct rcu refcounting for batman_ifMarek Lindner1-21/+19
2011-03-05batman-adv: protect bonding with rcu locksSimon Wunderlich1-1/+1
2011-01-31batman-adv: Update copyright yearsSven Eckelmann1-1/+1
2011-01-31batman-adv: Remove declaration of batman_skb_recvSven Eckelmann1-2/+9
2010-12-16net: Add batman-adv meshing protocolSven Eckelmann1-0/+651