inet: Don't lookup the socket if there's a socket attached to the skb
authorKOVACS Krisztian <hidden@sch.bme.hu>
Tue, 7 Oct 2008 19:41:01 +0000 (12:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Oct 2008 19:41:01 +0000 (12:41 -0700)
commit23542618deb77cfed312842fe8c41ed19fb16470
tree9658279a6e3593846a9127c7a8bffb7ce0077d62
parent607c4aaf03041c8bd81555a0218050c0f895088e
inet: Don't lookup the socket if there's a socket attached to the skb

Use the socket cached in the skb if it's present.

Signed-off-by: KOVACS Krisztian <hidden@sch.bme.hu>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet6_hashtables.h
include/net/inet_hashtables.h
include/net/sock.h
net/ipv4/udp.c
net/ipv6/udp.c