Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab46d779 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller
Browse files

tun: Fix merge error



When forward-porting the tun accounting patch I managed to break
the send path compltely by dropping the tun_get call.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ce3dd395
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -660,7 +660,7 @@ static ssize_t tun_chr_aio_write(struct kiocb *iocb, const struct iovec *iv,
			      unsigned long count, loff_t pos)
{
	struct file *file = iocb->ki_filp;
	struct tun_struct *tun = file->private_data;
	struct tun_struct *tun = tun_get(file);
	ssize_t result;

	if (!tun)