diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-15 20:19:20 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-15 20:19:20 +0100 |
commit | 1550e9ba597946c88e3e7e3e8dcf33c13dd76e5b (patch) | |
tree | b21cb0e2fbfeb28f294832e266bdbfa2398b1d7b /src/device.c | |
parent | tests: trim output (diff) | |
download | wireguard-monolithic-historical-1550e9ba597946c88e3e7e3e8dcf33c13dd76e5b.tar.xz wireguard-monolithic-historical-1550e9ba597946c88e3e7e3e8dcf33c13dd76e5b.zip |
various: nits from willy
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index 564d09b..5a294ec 100644 --- a/src/device.c +++ b/src/device.c @@ -121,8 +121,8 @@ static netdev_tx_t xmit(struct sk_buff *skb, struct net_device *dev) read_unlock_bh(&peer->endpoint_lock); if (unlikely(ret)) { net_dbg_ratelimited("No valid endpoint has been configured or discovered for device\n"); - peer_put(peer); skb_unsendable(skb, dev); + peer_put(peer); return -EHOSTUNREACH; } |