linux/drivers/isdn/hisax
David S. Miller 6d90e8f456 isdn: hisax: Use l2headersize() instead of dup (and buggy) func.
There was a bug in my commit c978e7bb77
("hisax: Fix unchecked alloc_skb() return.")

One of the l2->flag checks is wrong.

Even worse it turns out I'm duplicating an existing function,
so use that instead.

Reported-by: Milton Miller <miltonm@bga.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-02-15 12:18:09 -08:00
..
amd7930_fn.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
amd7930_fn.h
arcofi.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
arcofi.h
asuscom.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
avm_a1.c
avm_a1p.c
avm_pci.c drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
avma1_cs.c pcmcia: remove obsolete and wrong comments 2010-09-29 17:20:25 +02:00
bkm_a4t.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
bkm_a8.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
bkm_ax.h
callc.c drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
config.c isdn/hisax: fix compiler warning on hisax_pci_tbl 2010-12-08 10:49:00 -08:00
diva.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
elsa_cs.c pcmcia: remove obsolete and wrong comments 2010-09-29 17:20:25 +02:00
elsa_ser.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
elsa.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
enternow_pci.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
fsm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fsm.h
gazel.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
hfc4s8s_l1.c Merge branch 'master' into for-next 2010-04-23 02:08:44 +02:00
hfc4s8s_l1.h
hfc_2bds0.c drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
hfc_2bds0.h
hfc_2bs0.c drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
hfc_2bs0.h
hfc_pci.c drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
hfc_pci.h
hfc_sx.c drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
hfc_sx.h
hfc_usb.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hfc_usb.h
hfcscard.c drivers/isdn/hisax: fix sparse warning: Should it be static? 2009-02-27 01:00:42 -08:00
hisax_cfg.h
hisax_debug.h isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
hisax_fcpcipnp.c hisax_fcpcipnp: fix broken isapnp device table. 2010-05-19 17:33:38 +09:30
hisax_fcpcipnp.h
hisax_if.h
hisax_isac.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hisax_isac.h
hisax.h drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
hscx_irq.c isdn: hisax: Fix test in waitforxfw 2009-11-04 08:31:19 -08:00
hscx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hscx.h
icc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
icc.h
ipac.h
ipacx.c drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
ipacx.h
isac.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
isac.h
isar.c isdn: Fix printed out copy_from_user() return value after previous change. 2010-12-10 16:52:38 -08:00
isar.h
isdnl1.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
isdnl1.h drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
isdnl2.c isdn: hisax: Use l2headersize() instead of dup (and buggy) func. 2011-02-15 12:18:09 -08:00
isdnl2.h
isdnl3.c drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
isdnl3.h
isurf.c
ix1_micro.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
jade_irq.c
jade.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
jade.h
Kconfig PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
l3_1tr6.c drivers/isdn: delete double assignment 2010-10-27 12:23:21 -07:00
l3_1tr6.h
l3dss1.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
l3dss1.h
l3ni1.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
l3ni1.h
lmgr.c
Makefile ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
mic.c
netjet.c drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
netjet.h
niccy.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
nj_s.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
nj_u.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
q931.c drivers: isdn: use kernel macros to convert hex digit 2010-07-15 19:05:24 -07:00
s0box.c
saphir.c
sedlbauer_cs.c pcmcia: remove obsolete and wrong comments 2010-09-29 17:20:25 +02:00
sedlbauer.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
sportster.c
st5481_b.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
st5481_d.c drivers/isdn/hisax: Add printf format/argument verification and fix fallout 2010-11-17 10:58:22 -08:00
st5481_init.c
st5481_usb.c ISDN: Add support for none reverse bitstreams to isdnhdc 2009-07-25 20:16:01 +02:00
st5481.h ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
tei.c fix comment/printk typos concerning "already" 2010-07-11 21:45:40 +02:00
teleint.c
teles0.c drivers/isdn/hisax: fix sparse warning: Should it be static? 2009-02-27 01:00:42 -08:00
teles3.c drivers/isdn/hisax: fix sparse warning: Should it be static? 2009-02-27 01:00:42 -08:00
teles_cs.c pcmcia: remove obsolete and wrong comments 2010-09-29 17:20:25 +02:00
telespci.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
w6692.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
w6692.h