[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1382767304.5595.1.camel@joe-AO722>
Date: Fri, 25 Oct 2013 23:01:44 -0700
From: Joe Perches <joe@...ches.com>
To: David Miller <davem@...emloft.net>
Cc: alex.aring@...il.com, alex.bluesman.smirnov@...il.com,
linux-zigbee-devel@...ts.sourceforge.net, werner@...esberger.net,
dbaryshkov@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 3/5] 6lowpan: use netdev_alloc_skb instead
dev_alloc_skb
On Sat, 2013-10-26 at 01:42 -0400, David Miller wrote:
> From: Alexander Aring <alex.aring@...il.com>
> Date: Thu, 24 Oct 2013 22:51:42 +0200
>
> > @@ -1127,12 +1127,12 @@ lowpan_fragment_xmit(struct sk_buff *skb, u8 *head,
> >
> > lowpan_raw_dump_inline(__func__, "6lowpan fragment header", head, hlen);
> >
> > - frag = dev_alloc_skb(hlen + mlen + plen + IEEE802154_MFR_SIZE);
> > + frag = netdev_alloc_skb(skb->dev, hlen + mlen +
> > + plen + IEEE802154_MFR_SIZE);
>
> Please indent this properly.
>
> It should be something like:
>
> frag = netdev_alloc_skb(skb->dev, hlen + mlen +
> plen + IEEE802154_MFR_SIZE);
Maybe better as:
frag = netdev_alloc_skb(skb->dev,
hlen + mlen + plen + IEEE802154_MFR_SIZE);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists