From: Dongdong Deng Date: Sun, 12 Jul 2009 20:27:06 +0000 (+0000) Subject: drivers/net: using spin_lock_irqsave() in net_send_packet() X-Git-Tag: v2.6.31-rc4~55^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79fbe134832ebb70a49d8802cfeb2401dc35bb38;p=pandora-kernel.git drivers/net: using spin_lock_irqsave() in net_send_packet() spin_unlock_irq() will enable interrupt in net_send_packet(), this patch changes it to spin_lock_irqsave/spin_lock_irqrestore, so that it doesn't enable interrupts when already disabled, and netconsole would work properly over cs89x0/isa-skeleton. Call trace: netconsole write_msg() { ... -> spin_lock_irqsave(); -> netpoll_send_udp() -> netpoll_send_skb() -> net_send_packet() ->... -> spin_unlock_irqrestore(); ... } Signed-off-by: Dongdong Deng Signed-off-by: David S. Miller --- Reading git-diff-tree failed