Re: [B.A.T.M.A.N.] [PATCHv2 1/3] batman-adv: Remove old fragmentation code

Antonio Quartulli
2013-05-15T07:07:35Z

[-- Attachment #1: Type: text/plain, Size: 768 bytes --]

Hi,

On Mon, May 13, 2013 at 10:23:00PM +0200, Martin Hundebøll wrote:

[...]

> +/**
> + * batadv_send_skb_prepare_unicast - encapsulate an skb with a unicast header
> + * @skb: the skb containing the payload to encapsulate
> + * @orig_node: the destination node
> + *
> + * Returns false if the payload could not be encapsulated or true otherwise
> + */
> +static bool batadv_send_skb_prepare_unicast(struct sk_buff *skb,
> + struct batadv_orig_node *orig_node)
> +{
> + size_t uni_size = sizeof(struct batadv_unicast_packet);

a blank line here is needed

> + return batadv_send_skb_push_fill_unicast(skb, uni_size, orig_node);
> +}

Cheers,

--
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]