mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
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: bc62216dc8 ("batman-adv: frag: disallow unicast fragment in fragment")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
d5487249a8
commit
0039ac8305
|
|
@ -305,10 +305,10 @@ batadv_frag_merge_packets(struct hlist_head *chain)
|
|||
}
|
||||
|
||||
/**
|
||||
* 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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user