]> err.no Git - linux-2.6/blobdiff - net/core/sock.c
fix reentrancy bug in arcmsr_get_iop_{r,w}qbuffer()
[linux-2.6] / net / core / sock.c
index d292b4113d6e240829c48cbd84e24ab5da660764..bba9949681ff7e132f84629602814dc7d9aa17d4 100644 (file)
@@ -232,7 +232,7 @@ static int sock_set_timeout(long *timeo_p, char __user *optval, int optlen)
                        warned++;
                        printk(KERN_INFO "sock_set_timeout: `%s' (pid %d) "
                               "tries to set negative timeout\n",
-                               current->comm, current->pid);
+                               current->comm, task_pid_nr(current));
                return 0;
        }
        *timeo_p = MAX_SCHEDULE_TIMEOUT;
@@ -1649,7 +1649,6 @@ void sock_enable_timestamp(struct sock *sk)
                net_enable_timestamp();
        }
 }
-EXPORT_SYMBOL(sock_enable_timestamp);
 
 /*
  *     Get a socket option on an socket.