aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/debugfs.c1
-rw-r--r--net/batman-adv/distributed-arp-table.c1
-rw-r--r--net/batman-adv/gateway_client.c1
-rw-r--r--net/batman-adv/packet.h1
4 files changed, 4 insertions, 0 deletions
diff --git a/net/batman-adv/debugfs.c b/net/batman-adv/debugfs.c
index 14850918ff12..a4972874c056 100644
--- a/net/batman-adv/debugfs.c
+++ b/net/batman-adv/debugfs.c
@@ -404,6 +404,7 @@ struct batadv_debuginfo batadv_hardif_debuginfo_##_name = { \
404 .release = single_release, \ 404 .release = single_release, \
405 }, \ 405 }, \
406} 406}
407
407static BATADV_HARDIF_DEBUGINFO(originators, S_IRUGO, 408static BATADV_HARDIF_DEBUGINFO(originators, S_IRUGO,
408 batadv_originators_hardif_open); 409 batadv_originators_hardif_open);
409 410
diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c
index b5981113c9a7..aad022dd15df 100644
--- a/net/batman-adv/distributed-arp-table.c
+++ b/net/batman-adv/distributed-arp-table.c
@@ -1100,6 +1100,7 @@ void batadv_dat_snoop_outgoing_arp_reply(struct batadv_priv *bat_priv,
1100 batadv_dat_send_data(bat_priv, skb, ip_src, BATADV_P_DAT_DHT_PUT); 1100 batadv_dat_send_data(bat_priv, skb, ip_src, BATADV_P_DAT_DHT_PUT);
1101 batadv_dat_send_data(bat_priv, skb, ip_dst, BATADV_P_DAT_DHT_PUT); 1101 batadv_dat_send_data(bat_priv, skb, ip_dst, BATADV_P_DAT_DHT_PUT);
1102} 1102}
1103
1103/** 1104/**
1104 * batadv_dat_snoop_incoming_arp_reply - snoop the ARP reply and fill the local 1105 * batadv_dat_snoop_incoming_arp_reply - snoop the ARP reply and fill the local
1105 * DAT storage only 1106 * DAT storage only
diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c
index e0bcf9e84273..27649e85f3f6 100644
--- a/net/batman-adv/gateway_client.c
+++ b/net/batman-adv/gateway_client.c
@@ -775,6 +775,7 @@ batadv_gw_dhcp_recipient_get(struct sk_buff *skb, unsigned int *header_len,
775 775
776 return ret; 776 return ret;
777} 777}
778
778/** 779/**
779 * batadv_gw_out_of_range - check if the dhcp request destination is the best gw 780 * batadv_gw_out_of_range - check if the dhcp request destination is the best gw
780 * @bat_priv: the bat priv with all the soft interface information 781 * @bat_priv: the bat priv with all the soft interface information
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h
index 34e096d2dce1..facd1feddd4e 100644
--- a/net/batman-adv/packet.h
+++ b/net/batman-adv/packet.h
@@ -198,6 +198,7 @@ struct batadv_bla_claim_dst {
198 uint8_t type; /* bla_claimframe */ 198 uint8_t type; /* bla_claimframe */
199 __be16 group; /* group id */ 199 __be16 group; /* group id */
200}; 200};
201
201#pragma pack() 202#pragma pack()
202 203
203/** 204/**