android_kernel_google_msm/drivers/atm
Alexander Duyck 1102122b2b skb: Add inline helper for getting the skb end offset from head
[ Upstream commit ec47ea8247 ]

With the recent changes for how we compute the skb truesize it occurs to me
we are probably going to have a lot of calls to skb_end_pointer -
skb->head.  Instead of running all over the place doing that it would make
more sense to just make it a separate inline skb_end_offset(skb) that way
we can return the correct value without having gcc having to do all the
optimization to cancel out skb->head - skb->head.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-07 16:02:00 -07:00
..
.gitignore
Kconfig
Makefile
adummy.c
ambassador.c skb: Add inline helper for getting the skb end offset from head 2014-06-07 16:02:00 -07:00
ambassador.h
atmtcp.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
eni.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
eni.h eni: fix driver remove function and driver probe error path. 2012-03-16 23:13:20 -07:00
firestream.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
firestream.h
fore200e.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
fore200e.h
he.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
he.h
horizon.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
horizon.h
idt77105.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
idt77105.h
idt77252.c skb: Add inline helper for getting the skb end offset from head 2014-06-07 16:02:00 -07:00
idt77252.h
idt77252_tables.h
iphase.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
iphase.h atm/iphase: rename fregt_t -> ffreg_t 2013-02-14 10:49:05 -08:00
lanai.c atm: Fix typo in lanai.c 2012-02-01 14:46:25 -05:00
midway.h
nicstar.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c solos-pci: fix double-free of TX skb in DMA mode 2013-01-11 09:07:16 -08:00
suni.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
suni.h
tonga.h
uPD98401.h
uPD98402.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
uPD98402.h
zatm.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
zatm.h
zeprom.h