diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-05-16 23:10:08 +0300 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-05-16 23:15:19 +0300 |
| commit | 0039ac8305064e455f04d412ec3896c4fe41d04f (patch) | |
| tree | 549b1dd045bcbcdb398d356126d56a17a87b147c | |
| parent | d5487249a81ea658717614009c8f46acc5b7101a (diff) | |
| download | linux-0039ac8305064e455f04d412ec3896c4fe41d04f.tar.xz | |
batman-adv: fix batadv_skb_is_frag() kernel-doc
The kernel-doc comment for batadv_skb_is_frag() contained two errors:
* the function description referred to "gain a unicast packet" instead
of "contains unicast fragment".
* the Return section omitted "merged" from "newly skb", leaving the
description grammatically incorrect and inconsistent with the
function description.
Fixes: bc62216dc8e2 ("batman-adv: frag: disallow unicast fragment in fragment")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
| -rw-r--r-- | net/batman-adv/fragmentation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/fragmentation.c b/net/batman-adv/fragmentation.c index 4a594aa2ebf6..e9553db42349 100644 --- a/net/batman-adv/fragmentation.c +++ b/net/batman-adv/fragmentation.c @@ -305,10 +305,10 @@ free: } /** - * batadv_skb_is_frag() - check if newly merged skb is gain a unicast packet + * batadv_skb_is_frag() - check if newly merged skb contains unicast fragment * @skb: newly merged skb * - * Return: if newly skb is of type BATADV_UNICAST_FRAG + * Return: if newly merged skb is of type BATADV_UNICAST_FRAG */ static bool batadv_skb_is_frag(struct sk_buff *skb) { |
