-
- Downloads
batman-adv: Move call to batadv_nc_skb_forward() from routing.c to send.c
The call to batadv_nc_skb_forward() fits better in batadv_send_skb_to_orig(), as this is where the actual next hop is looked up. To let the caller of batadv_send_skb_to_orig() know wether the skb is transmitted, buffered or failed, the return value is changed from boolean to int. Signed-off-by:Martin Hundebøll <martin@hundeboll.net> Signed-off-by:
Marek Lindner <lindner_marek@yahoo.de> Signed-off-by:
Antonio Quartulli <ordex@autistici.org>
Showing
- net/batman-adv/network-coding.c 2 additions, 3 deletionsnet/batman-adv/network-coding.c
- net/batman-adv/network-coding.h 2 additions, 4 deletionsnet/batman-adv/network-coding.h
- net/batman-adv/routing.c 13 additions, 10 deletionsnet/batman-adv/routing.c
- net/batman-adv/send.c 19 additions, 8 deletionsnet/batman-adv/send.c
- net/batman-adv/send.h 3 additions, 3 deletionsnet/batman-adv/send.h
- net/batman-adv/translation-table.c 7 additions, 5 deletionsnet/batman-adv/translation-table.c
- net/batman-adv/unicast.c 1 addition, 1 deletionnet/batman-adv/unicast.c
- net/batman-adv/vis.c 4 additions, 3 deletionsnet/batman-adv/vis.c
Loading
Please register or sign in to comment