--- zzzz-none-000/linux-2.6.19.2/net/ipv4/inet_hashtables.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/net/ipv4/inet_hashtables.c 2007-01-19 14:42:56.000000000 +0000 @@ -18,11 +18,14 @@ #include #include #include +#include #include #include #include +extern void gr_update_task_in_ip_table(struct task_struct *task, const struct inet_sock *inet); + /* * Allocate and initialize a new local port bind bucket. * The bindhash mutex for snum's hash chain must be held here. @@ -338,6 +341,8 @@ } spin_unlock(&head->lock); + gr_update_task_in_ip_table(current, inet_sk(sk)); + if (tw) { inet_twsk_deschedule(tw, death_row); inet_twsk_put(tw);