mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
batman-adv: fix batadv_v_ogm_packet_recv error handling kernel-doc
All receive handlers in batman-adv are consuming the skbuff independent of the result of the handler. The "(without freeing the skb) on failure" is therefore not corrrect anymore for the current implementation. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
f3ff3eb0d6
commit
7b915cd40b
|
|
@ -984,7 +984,7 @@ static void batadv_v_ogm_process(const struct sk_buff *skb, int ogm_offset,
|
|||
* @if_incoming: the interface where this OGM has been received
|
||||
*
|
||||
* Return: NET_RX_SUCCESS and consume the skb on success or returns NET_RX_DROP
|
||||
* (without freeing the skb) on failure
|
||||
* (freeing the skb) on failure
|
||||
*/
|
||||
int batadv_v_ogm_packet_recv(struct sk_buff *skb,
|
||||
struct batadv_hard_iface *if_incoming)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user