From: Jarek Poplawski Date: Mon, 18 Feb 2008 06:31:19 +0000 (-0800) Subject: [AX25] ax25_out: check skb for NULL in ax25_kick() X-Git-Tag: v2.6.25-rc3~126^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f47b7257c7368698eabff6fd7b340071932af640;p=pandora-kernel.git [AX25] ax25_out: check skb for NULL in ax25_kick() According to some OOPS reports ax25_kick tries to clone NULL skbs sometimes. It looks like a race with ax25_clear_queues(). Probably there is no need to add more than a simple check for this yet. Another report suggested there are probably also cases where ax25 ->paclen == 0 can happen in ax25_output(); this wasn't confirmed during testing but let's leave this debugging check for some time. Reported-and-tested-by: Jann Traschewski Signed-off-by: Jarek Poplawski Signed-off-by: David S. Miller --- Reading git-diff-tree failed