Hi, It seems nf_register_hook can return a -ve value too, I looked at the function source that wlays returns 0, but in some cases(i dont know what they are) -ve value is also returned, when does this happen ?? At a lot of places in the kernel the return value for nf_register_hook is checked to see if it is less than zero ?? thanks Amit