inet_csk_listen_start: function defination

2007-06-09 Thread Tej Parkash
hi all i am bit confused with the function defination of inet_listen. How a listen socket can listen and return to application at a time. since a server stops at accpet not at listen then how listening port start. I was thinking that the listen call thread out at the tcp_v4_hash function time bu

reg: kprobe method

2007-05-31 Thread Tej Parkash
ct kprobe kp; static int handler_pre(struct kprobe *p, struct pt_regs *regs) { printk("my name is tej parkash dhiman"); return 0; } void handler_post(struct kprobe *p, struct pt_regs *regs, unsigned long flags) { printk("mast hai na tej ash ker"); } stati

Re: Linux-kernel-digest Digest, Vol 32, Issue 795

2007-05-30 Thread Tej Parkash
On 5/30/07, Sam Ravnborg <[EMAIL PROTECTED]> wrote: On Wed, May 30, 2007 at 08:07:53PM +0530, Tej Parkash wrote: > On 5/30/07, Tej Parkash <[EMAIL PROTECTED]> wrote: > >> > > > >> > > while building module i was getting following warning and i

Re: Linux-kernel-digest Digest, Vol 32, Issue 795

2007-05-30 Thread Tej Parkash
On 5/30/07, Tej Parkash <[EMAIL PROTECTED]> wrote: > > > > > > while building module i was getting following warning and it terminate > > > module building stage > > The below are only warnings and your build should succeed. > > > > It is

warning while building module.

2007-05-28 Thread Tej Parkash
hi all while building module i was getting following warning and it terminate module building stage MODPOST 1889 modules WARNING: vmlinux - Section mismatch: reference to .init.text:start_kernel from .text between 'is386' (at offset 0xc0101171) and 'check_x87' WARNING: vmlinux - Section mismatch

Re: reg: modules make in Ubuntu

2007-05-26 Thread Tej Parkash
On 5/26/07, Sam Ravnborg <[EMAIL PROTECTED]> wrote: On Sat, May 26, 2007 at 01:28:56AM -0400, Tej Parkash wrote: > make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic' > CHK include/linux/version.h > CHK include/linux/utsrelease.h > make[2]: ***

reg: modules make in Ubuntu

2007-05-25 Thread Tej Parkash
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic' CHK include/linux/version.h CHK include/linux/utsrelease.h make[2]: *** No rule to make target `arch/i386/kernel/msr.c', needed by `arch/i386/kernel/msr.o'. Stop. make[1]: *** [arch/i386/kernel] Error 2 make[1]: Leav

Reg: redundancy in inet socket

2007-05-25 Thread Tej Parkash
list_for_each_rcu(p, &inetsw[sock->type]) { answer = list_entry(p, struct inet_protosw, list); /* Check the non-wild match. */ if (protocol == answer->protocol) { if (protocol != IPPROTO_IP) br

[PATCH - 1/1] Reg: __builtin_expect(!!(x), 0)

2007-05-25 Thread Tej Parkash
what is this hack and why it is required - 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/