diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-15 12:18:09 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-15 12:18:09 -0800 |
commit | 6d90e8f45697c633f522269368297d7416fd8783 (patch) | |
tree | 69a5692be4aa906a6672b4f8dfa999f0fe669eb7 /drivers/spi/spi_nuc900.c | |
parent | d11327ad6695db8117c78d70611e71102ceec2ac (diff) |
isdn: hisax: Use l2headersize() instead of dup (and buggy) func.
There was a bug in my commit c978e7bb77dfd2cd3d1f547fa4e395cfe47f02b2
("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>
Diffstat (limited to 'drivers/spi/spi_nuc900.c')
0 files changed, 0 insertions, 0 deletions