diff options
author | 2010-04-28 15:31:51 -0700 | |
---|---|---|
committer | 2010-04-28 15:31:51 -0700 | |
commit | f84af32cbca70a3c6d30463dc08c7984af11c277 (patch) | |
tree | 06ede4b3ed91be899f8f29b4c7eb1fb76f1ade97 /net/unix/af_unix.c | |
parent | net: speedup udp receive path (diff) | |
download | wireguard-linux-f84af32cbca70a3c6d30463dc08c7984af11c277.tar.xz wireguard-linux-f84af32cbca70a3c6d30463dc08c7984af11c277.zip |
net: ip_queue_rcv_skb() helper
When queueing a skb to socket, we can immediately release its dst if
target socket do not use IP_CMSG_PKTINFO.
tcp_data_queue() can drop dst too.
This to benefit from a hot cache line and avoid the receiver, possibly
on another cpu, to dirty this cache line himself.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions