diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-06-04 23:00:46 +0300 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-06-05 10:12:08 +0300 |
| commit | 7b915cd40bb2786122d5e336d7bdf46e5d94af70 (patch) | |
| tree | 87d5616e5ea5b24d8ce98b6483b25c759ec1cc2c | |
| parent | f3ff3eb0d6a4080fa7f554b8478a3405b8e4befe (diff) | |
| download | linux-7b915cd40bb2786122d5e336d7bdf46e5d94af70.tar.xz | |
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>
| -rw-r--r-- | net/batman-adv/bat_v_ogm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/bat_v_ogm.c b/net/batman-adv/bat_v_ogm.c index 72ae8ffc9db6..14920f4bb315 100644 --- a/net/batman-adv/bat_v_ogm.c +++ b/net/batman-adv/bat_v_ogm.c @@ -984,7 +984,7 @@ out: * @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) |
