aboutsummaryrefslogtreecommitdiff
path: root/include/linux/ext3_fs_sb.h
diff options
context:
space:
mode:
authorDongdong Deng <dongdong.deng@windriver.com>2009-07-12 20:27:06 +0000
committerDavid S. Miller <davem@davemloft.net>2009-07-14 12:03:41 -0700
commit79fbe134832ebb70a49d8802cfeb2401dc35bb38 (patch)
tree52e810d78f6357826b83963286b1fcd9d53bd882 /include/linux/ext3_fs_sb.h
parentbc23283c7bc90958927abe26eedc562701743a88 (diff)
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 <dongdong.deng@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ext3_fs_sb.h')
0 files changed, 0 insertions, 0 deletions