]> git.baikalelectronics.ru Git - kernel.git/commit
mkiss: ax_bump() locking fix
authorJarek Poplawski <jarkao2@gmail.com>
Wed, 13 Feb 2008 11:17:58 +0000 (11:17 +0000)
committerJeff Garzik <jeff@garzik.org>
Fri, 15 Feb 2008 15:51:51 +0000 (10:51 -0500)
commitb8efd18944a350f6e65996e7d2f3b0643dec18d7
tree21bc24feb0f220c372d30469a47ca640fba75368
parent1e62b530ad938204c4e3df43898f02874964c537
mkiss: ax_bump() locking fix

According to one of OOPSes reported by Jann softirq can break
while skb is prepared for netif_rx. The report isn't complete,
so the real reason of the later bug could be different, but
IMHO this locking break in ax_bump is unsafe and unnecessary.

Reported-and-tested-by: Jann Traschewski <jann@gmx.de>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/hamradio/mkiss.c