diff options
author | 2018-07-02 16:14:44 +0100 | |
---|---|---|
committer | 2018-07-04 14:06:20 +0900 | |
commit | b9f463d6c9849230043123a6335d59ac7fea4d5a (patch) | |
tree | f783000bbd897cea7d9bbebbfaa3552dc7b35a10 /net/ipv4/raw.c | |
parent | net: ipv4: listify ip_rcv_finish (diff) | |
download | wireguard-linux-b9f463d6c9849230043123a6335d59ac7fea4d5a.tar.xz wireguard-linux-b9f463d6c9849230043123a6335d59ac7fea4d5a.zip |
net: don't bother calling list RX functions on empty lists
Generally the check should be very cheap, as the sk_buff_head is in cache.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/raw.c')
0 files changed, 0 insertions, 0 deletions