summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-02-27 11:55:13 -0800
committerJason A. Donenfeld <Jason@zx2c4.com>2017-02-27 11:55:13 -0800
commit94380b5117b82aee78504a4199697ef2e2f1c52e (patch)
tree76d20fe8881c87299cff16614a5a0908b9f5a941 /src
parent6f3d335376a26b703e6aca96c1d219df2e78b8bd (diff)
receive: last_rx use is discouraged and removed in recent kernels
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/receive.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/receive.c b/src/receive.c
index bebd719..5707ab2 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -258,7 +258,6 @@ static void receive_data_packet(struct sk_buff *skb, struct wireguard_peer *peer
goto packet_processed;
}
- dev->last_rx = jiffies;
if (likely(netif_rx(skb) == NET_RX_SUCCESS))
rx_stats(peer, skb->len);
else {