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>
Showing
- include/net/inet6_hashtables.h 8 additions, 4 deletionsinclude/net/inet6_hashtables.h
- include/net/inet_hashtables.h 7 additions, 3 deletionsinclude/net/inet_hashtables.h
- include/net/sock.h 12 additions, 0 deletionsinclude/net/sock.h
- net/ipv4/udp.c 7 additions, 3 deletionsnet/ipv4/udp.c
- net/ipv6/udp.c 7 additions, 3 deletionsnet/ipv6/udp.c
Please register or sign in to comment