This feature/cleanup patchset includes the following patches:
- bump version strings, by Simon Wunderlich - fix typo and kerneldocs, by Sven Eckelmann - use WiFi txbitrate for B.A.T.M.A.N. V as fallback, by René Treffer - silence some endian sparse warnings by adding annotations, by Sven Eckelmann - Update copyright years to 2020, by Sven Eckelmann - Disable deprecated sysfs configuration by default, by Sven Eckelmann -----BEGIN PGP SIGNATURE----- iQJKBAABCgA0FiEE1ilQI7G+y+fdhnrfoSvjmEKSnqEFAl4dzoQWHHN3QHNpbW9u d3VuZGVybGljaC5kZQAKCRChK+OYQpKeodEbD/0fM2O/hx/CsBoWDt9rU+tA/Nh8 CWYUn9fjghG3RpSCzIjqpcwSe4T09KHw7BvPBiWpVNmUYeNz7aLmujbaj1DmAY8l l50VHtJYM1aCIC8O3UcqznrUtoyEdAi78gpxUXLVNABJ9t9gkpXaS3bM06gs5QW4 7Y5KSpN9O7a7QrLByb8KZUuZrHCSUzrVJHkc3eZ4FqAk3jRw0LjaMIkoQaKImc9D wOUTU0rUvuTNBZ9jteChWkfpHwa1QrRgoxYiw5d5u7FT7yOZE1NoQUbm0ZzhdMrO QLkcdN8n6gI8waDP47cxwNmSRpRS8S7PIyG2MSi1LNoENUcdHuPuPFAnBbXWyUqc QAXSe+JS2MKAT13Tt8+y34WWCtT94K7Hko1SbT4WpawdF1G+DzT2BNI9p+kOJLRV Ap7OHTwrZHqkTyQLbMEYdfIPFwMilYEc+O24kjOw6OCSt45F1l9bad4IwvE/iASb HNzLO2Jlj5gUMXShbcIzC3PGYSMWpZKoX3075SqOXjcOKfF/jUYfaUt8WSUvi1bA CcEMD7FMrVa0mBkhG2WUO9f/ARlfTckhg/ijD4NSDLy7CsjhWXZL7lC9N7R43ktM LThTJ+ey1P+K6q1OH4ytvlApSwHC1OdaA6zUhoht9XQDHrnLf6gDpTDd4xn8zKPZ BXbGv9bCi3/df6ocCw== =xeMk -----END PGP SIGNATURE----- Merge tag 'batadv-next-for-davem-20200114' of git://git.open-mesh.org/linux-merge Simon Wunderlich says: ==================== This feature/cleanup patchset includes the following patches: - bump version strings, by Simon Wunderlich - fix typo and kerneldocs, by Sven Eckelmann - use WiFi txbitrate for B.A.T.M.A.N. V as fallback, by René Treffer - silence some endian sparse warnings by adding annotations, by Sven Eckelmann - Update copyright years to 2020, by Sven Eckelmann - Disable deprecated sysfs configuration by default, by Sven Eckelmann ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
8fec380ac0
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: MIT */
|
||||
/* Copyright (C) 2016-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2016-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Matthias Schiffer
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
# Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
#
|
||||
# Marek Lindner, Simon Wunderlich
|
||||
|
||||
|
@ -100,7 +100,6 @@ config BATMAN_ADV_DEBUG
|
|||
config BATMAN_ADV_SYSFS
|
||||
bool "batman-adv sysfs entries"
|
||||
depends on BATMAN_ADV
|
||||
default y
|
||||
help
|
||||
Say Y here if you want to enable batman-adv device configuration and
|
||||
status interface through sysfs attributes. It is replaced by the
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
# Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
#
|
||||
# Marek Lindner, Simon Wunderlich
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Linus Lüssing
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Linus Lüssing, Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Linus Lüssing
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Linus Lüssing, Marek Lindner
|
||||
*/
|
||||
|
@ -107,10 +107,17 @@ static u32 batadv_v_elp_get_throughput(struct batadv_hardif_neigh_node *neigh)
|
|||
}
|
||||
if (ret)
|
||||
goto default_throughput;
|
||||
if (!(sinfo.filled & BIT(NL80211_STA_INFO_EXPECTED_THROUGHPUT)))
|
||||
goto default_throughput;
|
||||
|
||||
return sinfo.expected_throughput / 100;
|
||||
if (sinfo.filled & BIT(NL80211_STA_INFO_EXPECTED_THROUGHPUT))
|
||||
return sinfo.expected_throughput / 100;
|
||||
|
||||
/* try to estimate the expected throughput based on reported tx
|
||||
* rates
|
||||
*/
|
||||
if (sinfo.filled & BIT(NL80211_STA_INFO_TX_BITRATE))
|
||||
return cfg80211_calculate_bitrate(&sinfo.txrate) / 3;
|
||||
|
||||
goto default_throughput;
|
||||
}
|
||||
|
||||
/* if not a wifi interface, check if this device provides data via
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Linus Lüssing, Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Antonio Quartulli
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Antonio Quartulli
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2006-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2006-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Simon Wunderlich, Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2006-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2006-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Simon Wunderlich, Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Simon Wunderlich
|
||||
*/
|
||||
|
@ -844,7 +844,7 @@ static bool batadv_handle_announce(struct batadv_priv *bat_priv, u8 *an_addr,
|
|||
|
||||
/* handle as ANNOUNCE frame */
|
||||
backbone_gw->lasttime = jiffies;
|
||||
crc = ntohs(*((__be16 *)(&an_addr[4])));
|
||||
crc = ntohs(*((__force __be16 *)(&an_addr[4])));
|
||||
|
||||
batadv_dbg(BATADV_DBG_BLA, bat_priv,
|
||||
"%s(): ANNOUNCE vid %d (sent by %pM)... CRC = %#.4x\n",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2010-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2010-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Antonio Quartulli
|
||||
*/
|
||||
|
@ -246,7 +246,7 @@ static u8 *batadv_arp_hw_src(struct sk_buff *skb, int hdr_size)
|
|||
*/
|
||||
static __be32 batadv_arp_ip_src(struct sk_buff *skb, int hdr_size)
|
||||
{
|
||||
return *(__be32 *)(batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN);
|
||||
return *(__force __be32 *)(batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -270,7 +270,9 @@ static u8 *batadv_arp_hw_dst(struct sk_buff *skb, int hdr_size)
|
|||
*/
|
||||
static __be32 batadv_arp_ip_dst(struct sk_buff *skb, int hdr_size)
|
||||
{
|
||||
return *(__be32 *)(batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN * 2 + 4);
|
||||
u8 *dst = batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN * 2 + 4;
|
||||
|
||||
return *(__force __be32 *)dst;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -287,7 +289,7 @@ static u32 batadv_hash_dat(const void *data, u32 size)
|
|||
const unsigned char *key;
|
||||
u32 i;
|
||||
|
||||
key = (const unsigned char *)&dat->ip;
|
||||
key = (__force const unsigned char *)&dat->ip;
|
||||
for (i = 0; i < sizeof(dat->ip); i++) {
|
||||
hash += key[i];
|
||||
hash += (hash << 10);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Antonio Quartulli
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Martin Hundebøll <martin@hundeboll.net>
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Martin Hundebøll <martin@hundeboll.net>
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2009-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2009-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2009-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2009-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2009-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2009-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2009-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2009-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2006-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2006-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Simon Wunderlich, Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2006-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2006-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Simon Wunderlich, Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2010-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
@ -74,7 +74,7 @@ __printf(2, 3);
|
|||
* @bat_priv: the bat priv with all the soft interface information
|
||||
* @ratelimited: whether output should be rate limited
|
||||
* @fmt: format string
|
||||
* @arg...: variable arguments
|
||||
* @arg: variable arguments
|
||||
*/
|
||||
#define _batadv_dbg(type, bat_priv, ratelimited, fmt, arg...) \
|
||||
do { \
|
||||
|
@ -98,7 +98,7 @@ static inline void _batadv_dbg(int type __always_unused,
|
|||
* batadv_dbg() - Store debug output without ratelimiting
|
||||
* @type: type of debug message
|
||||
* @bat_priv: the bat priv with all the soft interface information
|
||||
* @arg...: format string and variable arguments
|
||||
* @arg: format string and variable arguments
|
||||
*/
|
||||
#define batadv_dbg(type, bat_priv, arg...) \
|
||||
_batadv_dbg(type, bat_priv, 0, ## arg)
|
||||
|
@ -107,7 +107,7 @@ static inline void _batadv_dbg(int type __always_unused,
|
|||
* batadv_dbg_ratelimited() - Store debug output with ratelimiting
|
||||
* @type: type of debug message
|
||||
* @bat_priv: the bat priv with all the soft interface information
|
||||
* @arg...: format string and variable arguments
|
||||
* @arg: format string and variable arguments
|
||||
*/
|
||||
#define batadv_dbg_ratelimited(type, bat_priv, arg...) \
|
||||
_batadv_dbg(type, bat_priv, 1, ## arg)
|
||||
|
@ -116,7 +116,7 @@ static inline void _batadv_dbg(int type __always_unused,
|
|||
* batadv_info() - Store message in debug buffer and print it to kmsg buffer
|
||||
* @net_dev: the soft interface net device
|
||||
* @fmt: format string
|
||||
* @arg...: variable arguments
|
||||
* @arg: variable arguments
|
||||
*/
|
||||
#define batadv_info(net_dev, fmt, arg...) \
|
||||
do { \
|
||||
|
@ -130,7 +130,7 @@ static inline void _batadv_dbg(int type __always_unused,
|
|||
* batadv_err() - Store error in debug buffer and print it to kmsg buffer
|
||||
* @net_dev: the soft interface net device
|
||||
* @fmt: format string
|
||||
* @arg...: variable arguments
|
||||
* @arg: variable arguments
|
||||
*/
|
||||
#define batadv_err(net_dev, fmt, arg...) \
|
||||
do { \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
@ -13,7 +13,7 @@
|
|||
#define BATADV_DRIVER_DEVICE "batman-adv"
|
||||
|
||||
#ifndef BATADV_SOURCE_VERSION
|
||||
#define BATADV_SOURCE_VERSION "2019.5"
|
||||
#define BATADV_SOURCE_VERSION "2020.0"
|
||||
#endif
|
||||
|
||||
/* B.A.T.M.A.N. parameters */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2014-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2014-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Linus Lüssing
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2014-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2014-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Linus Lüssing
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2016-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2016-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Matthias Schiffer
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2016-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2016-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Matthias Schiffer
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2012-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2012-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Martin Hundebøll, Jeppe Ledet-Pedersen
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2012-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2012-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Martin Hundebøll, Jeppe Ledet-Pedersen
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2009-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2009-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2010-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2010-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2012-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2012-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Edo Monticelli, Antonio Quartulli
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2012-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2012-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Edo Monticelli, Antonio Quartulli
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2010-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Sven Eckelmann
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2010-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Sven Eckelmann
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich, Antonio Quartulli
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich, Antonio Quartulli
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
|
||||
/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
|
||||
*
|
||||
* Marek Lindner, Simon Wunderlich
|
||||
*/
|
||||
|
@ -457,7 +457,7 @@ struct batadv_orig_node {
|
|||
/**
|
||||
* @tt_lock: prevents from updating the table while reading it. Table
|
||||
* update is made up by two operations (data structure update and
|
||||
* metdata -CRC/TTVN-recalculation) and they have to be executed
|
||||
* metadata -CRC/TTVN-recalculation) and they have to be executed
|
||||
* atomically in order to avoid another thread to read the
|
||||
* table/metadata between those.
|
||||
*/
|
||||
|
@ -1011,7 +1011,7 @@ struct batadv_priv_tt {
|
|||
/**
|
||||
* @commit_lock: prevents from executing a local TT commit while reading
|
||||
* the local table. The local TT commit is made up by two operations
|
||||
* (data structure update and metdata -CRC/TTVN- recalculation) and
|
||||
* (data structure update and metadata -CRC/TTVN- recalculation) and
|
||||
* they have to be executed atomically in order to avoid another thread
|
||||
* to read the table/metadata between those.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue