]> git.karo-electronics.de Git - mv-sheeva.git/commit
isdn: hisax: Use l2headersize() instead of dup (and buggy) func.
authorDavid S. Miller <davem@davemloft.net>
Tue, 15 Feb 2011 20:18:09 +0000 (12:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Feb 2011 20:18:09 +0000 (12:18 -0800)
commit6d90e8f45697c633f522269368297d7416fd8783
tree69a5692be4aa906a6672b4f8dfa999f0fe669eb7
parentd11327ad6695db8117c78d70611e71102ceec2ac
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>
drivers/isdn/hisax/isdnl2.c