Li Zhong
1cbac01052
packet: fix using smp_processor_id() in preemptible code
This patches fixes the following warning by replacing smp_processor_id()
with raw_smp_processor_id():
[ 11.120893] BUG: using smp_processor_id() in preemptible [00000000] code: arping/3510
[ 11.120913] caller is .packet_sendmsg+0xc14/0xe68
[ 11.120920] CPU: 13 PID: 3510 Comm: arping Not tainted 3.13.0-rc3-next-20131211-dirty #1
[ 11.120926] Call Trace:
[ 11.120932] [c0000001f803f6f0] [c0000000000138dc] .show_stack+0x110/0x25c (unreliable)
[ 11.120942] [c0000001f803f7e0] [c00000000083dd24] .dump_stack+0xa0/0x37c
[ 11.120951] [c0000001f803f870] [c000000000493fd4] .debug_smp_processor_id+0xfc/0x12c
[ 11.120959] [c0000001f803f900] [c0000000007eba78] .packet_sendmsg+0xc14/0xe68
[ 11.120968] [c0000001f803fa80] [c000000000700968] .sock_sendmsg+0xa0/0xe0
[ 11.120975] [c0000001f803fbf0] [c0000000007014d8] .SyS_sendto+0x100/0x148
[ 11.120983] [c0000001f803fd60] [c0000000006fff10] .SyS_socketcall+0x1c4/0x2e8
[ 11.120990] [c0000001f803fe30] [c00000000000a1e4] syscall_exit+0x0/0x9c
Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-14 01:04:13 -05:00
..
2013-11-15 13:28:47 +09:00
2013-12-09 20:56:12 -05:00
2013-11-14 16:30:30 +09:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-12-09 20:58:11 -05:00
2013-12-06 12:37:57 -05:00
2013-12-10 21:57:11 -05:00
2013-11-20 21:52:30 -05:00
2013-11-15 16:47:22 -08:00
2013-10-19 19:12:11 -04:00
2013-12-12 13:47:53 -05:00
2013-12-06 12:37:57 -05:00
2013-11-05 21:52:27 -05:00
2013-12-10 21:50:00 -05:00
2013-12-06 12:37:57 -05:00
2013-09-03 20:57:49 -04:00
2013-09-30 21:52:53 -07:00
2013-11-30 12:48:14 -05:00
2013-11-19 16:39:06 -05:00
2013-12-14 00:58:22 -05:00
2013-12-12 16:14:09 -05:00
2013-11-20 21:52:30 -05:00
2013-12-06 12:37:57 -05:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-11-23 14:46:23 -08:00
2013-09-23 16:52:45 -04:00
2013-11-20 21:52:30 -05:00
2013-12-06 09:50:45 -05:00
2013-10-30 17:18:46 -04:00
2013-10-19 19:36:19 -04:00
2013-12-06 12:37:57 -05:00
2013-12-06 12:37:56 -05:00
2013-11-28 18:26:30 -05:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-11-19 15:50:47 -08:00
2013-12-14 01:04:13 -05:00
2013-11-19 15:50:47 -08:00
2013-12-03 11:54:18 -05:00
2013-10-28 15:05:25 +01:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-12-11 15:30:17 -05:00
2013-12-11 15:39:34 -05:00
2013-11-20 14:25:39 -08:00
2013-12-11 00:17:43 -05:00
2013-12-06 16:35:58 -05:00
2013-11-20 21:52:30 -05:00
2013-11-21 13:09:42 -05:00
2013-12-06 09:50:45 -05:00
2013-12-09 20:24:18 -05:00
2013-11-07 19:28:58 -05:00
2013-11-29 16:12:52 -05:00
2013-11-21 16:42:27 -08:00
2013-11-03 23:20:14 -05:00
2013-12-10 22:24:13 -05:00
2013-10-07 15:57:56 -04:00