projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
536a23f
)
batman-adv: correct comments in bridge loop avoidance
author
Simon Wunderlich
<
[email protected]
>
Sat, 23 Jun 2012 10:34:17 +0000
(12:34 +0200)
committer
Antonio Quartulli
<
[email protected]
>
Thu, 23 Aug 2012 12:02:41 +0000
(14:02 +0200)
Signed-off-by: Simon Wunderlich <
[email protected]
>
Signed-off-by: Antonio Quartulli <
[email protected]
>
net/batman-adv/bridge_loop_avoidance.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/bridge_loop_avoidance.c
b/net/batman-adv/bridge_loop_avoidance.c
index 7e60466f571844fb757d1bf71913e7a4c34edfd7..5f1ad80d5163027e7f1b0970705e491b22bf66f8 100644
(file)
--- a/
net/batman-adv/bridge_loop_avoidance.c
+++ b/
net/batman-adv/bridge_loop_avoidance.c
@@
-281,7
+281,7
@@
static void batadv_bla_send_claim(struct batadv_priv *bat_priv, uint8_t *mac,
NULL,
/* Ethernet SRC/HW SRC: originator mac */
primary_if->net_dev->dev_addr,
- /* HW DST: FF:43:05:XX:
00:00
+ /* HW DST: FF:43:05:XX:
YY:YY
* with XX = claim type
* and YY:YY = group id
*/
@@
-323,7
+323,8
@@
static void batadv_bla_send_claim(struct batadv_priv *bat_priv, uint8_t *mac,
break;
case BATADV_CLAIM_TYPE_REQUEST:
/* request frame
- * set HW SRC to the special mac containg the crc
+ * set HW SRC and header destination to the receiving backbone
+ * gws mac
*/
memcpy(hw_src, mac, ETH_ALEN);
memcpy(ethhdr->h_dest, mac, ETH_ALEN);