[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 01 Jan 2008 19:46:21 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: "David S. Miller" <davem@...emloft.net>
CC: Linux Netdev List <netdev@...r.kernel.org>
Subject: [ICMP]: change "struct socket *" percpu var to a "struct sock *"
Instead of storing a pointer to a 'struct socket' and dereferencing ->sk
to get "struct sock *" from it, just store a "struct sock *" pointer.
This saves 75 bytes of text on x86
Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
View attachment "icmp.patch" of type "text/plain" (3992 bytes)
Powered by blists - more mailing lists