I've just realised I've forgot to ensure skb_inout now points to the new skb when copy expanding. Sorry about that, I'll respin the patch.
- Martin. On 01/08/14 16:45, Marc Kleine-Budde wrote: > On 08/01/2014 05:30 PM, Martin Townsend wrote: >> Signed-off-by: Martin Townsend <martin.towns...@xsilon.com> >> --- >> include/net/6lowpan.h | 2 +- >> net/6lowpan/iphc.c | 22 +++++++++++++--------- >> net/bluetooth/6lowpan.c | 12 ++++++++---- >> net/ieee802154/6lowpan_rtnl.c | 12 ++++++------ >> 4 files changed, 28 insertions(+), 20 deletions(-) >> >> diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h >> index d7e9169..aa0381e 100644 >> --- a/include/net/6lowpan.h >> +++ b/include/net/6lowpan.h >> @@ -374,7 +374,7 @@ lowpan_uncompress_size(const struct sk_buff *skb, u16 >> *dgram_offset) >> >> typedef int (*skb_delivery_cb)(struct sk_buff *skb); >> >> -int lowpan_process_data(struct sk_buff *skb, struct net_device *dev, >> +int lowpan_process_data(struct sk_buff **skb_inout, struct net_device *dev, > Why do you make the first parameter a double pointer? > > Marc > ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel