tcp_sendmsg in scheduler queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am developing a kernel module that schedules a task to run
in the scheduler queue (kernel is 2.4), and inside the task there is a
call
to tcp_sendmsg().

I have intermittent kernel crashes which seem to happen in alloc_skb()
(below is the output from ksymoops).

Is there anything wrong with calling tcp_sendmsg() from a task in the
scheduler queue?

Thanks,
Seva Tonkonoh

>>EIP; c012f10f <kmem_cache_alloc_batch+67/e0>   <=====

>>ecx; c1c0da28 <_end+18a5138/11ce9710>
>>esi; c1c0da28 <_end+18a5138/11ce9710>

Trace; c012f2ea <kmem_cache_alloc+72/13c>
Trace; c01f996c <alloc_skb+cc/1bc>
Trace; c0213348 <tcp_sendmsg+23c/1140>
Trace; f899e5f8 <END_OF_CODE+268d1001/????>
Trace; c0115233 <schedule_timeout+83/a0>
Trace; c011d2ec <__run_task_queue+64/70>
Trace; c01250d7 <context_thread+137/1d0>
Trace; c0105684 <kernel_thread+28/38>

Code;  c012f10f <kmem_cache_alloc_batch+67/e0>
00000000 <_EIP>:
Code;  c012f10f <kmem_cache_alloc_batch+67/e0>   <=====
   0:   8b 44 81 18               mov    0x18(%ecx,%eax,4),%eax   <=====
Code;  c012f113 <kmem_cache_alloc_batch+6b/e0>
   4:   03 59 0c                  add    0xc(%ecx),%ebx
Code;  c012f116 <kmem_cache_alloc_batch+6e/e0>
   7:   89 41 14                  mov    %eax,0x14(%ecx)
Code;  c012f119 <kmem_cache_alloc_batch+71/e0>
   a:   83 f8 ff                  cmp    $0xffffffff,%eax
Code;  c012f11c <kmem_cache_alloc_batch+74/e0>
   d:   75 23                     jne    32 <_EIP+0x32> c012f141
<kmem_cache_alloc_batch+99/e0>
Code;  c012f11e <kmem_cache_alloc_batch+76/e0>
   f:   8b 41 04                  mov    0x4(%ecx),%eax
Code;  c012f121 <kmem_cache_alloc_batch+79/e0>
  12:   8b 11                     mov    (%ecx),%edx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux