diff options
Diffstat (limited to 'src')
-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 802e90d..6dfefc0 100644 --- a/src/device.c +++ b/src/device.c @@ -186,7 +186,7 @@ static netdev_tx_t xmit(struct sk_buff *skb, struct net_device *dev) skb_dst_drop(skb); skb_queue_tail(&peer->tx_packet_queue, skb); - } while ((skb = next)); + } while ((skb = next) != NULL); packet_send_queue(peer); peer_put(peer); |