From: David S. Miller Date: Tue, 15 Feb 2011 20:18:09 +0000 (-0800) Subject: isdn: hisax: Use l2headersize() instead of dup (and buggy) func. X-Git-Tag: v2.6.38-rc6~20^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d90e8f45697c633f522269368297d7416fd8783;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed