aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-10-14 17:38:16 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-10-14 17:38:16 +0200
commita4bc2c596e8bc599253ee28e7dce47b56c48768c (patch)
tree79e7ed21d7bd812c8773e95cb4f1e57a9056b376 /src
parentsend: requeue jobs for later if padata is full (diff)
downloadwireguard-monolithic-historical-a4bc2c596e8bc599253ee28e7dce47b56c48768c.tar.xz
wireguard-monolithic-historical-a4bc2c596e8bc599253ee28e7dce47b56c48768c.zip
device: show debug message when no peer has allowed-ips for packet
Diffstat (limited to 'src')
-rw-r--r--src/device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index 377a2b5..584a8f0 100644
--- a/src/device.c
+++ b/src/device.c
@@ -112,6 +112,7 @@ static netdev_tx_t xmit(struct sk_buff *skb, struct net_device *dev)
peer = routing_table_lookup_dst(&wg->peer_routing_table, skb);
if (unlikely(!peer)) {
+ net_dbg_ratelimited("No peer is configured for outgoing packet address\n");
skb_unsendable(skb, dev);
return -ENOKEY;
}