Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread Zhi Yong Wu
On Wed, Dec 11, 2013 at 11:19 AM, David Miller wrote: > From: Zhi Yong Wu > Date: Wed, 11 Dec 2013 11:14:04 +0800 > >> Only one reminder, since David has committed the two patches, you >> maybe need to take their impact on your patches into account. > > I reverted these changes from net-next. So

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread David Miller
From: Zhi Yong Wu Date: Wed, 11 Dec 2013 11:14:04 +0800 > Only one reminder, since David has committed the two patches, you > maybe need to take their impact on your patches into account. I reverted these changes from net-next. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread Zhi Yong Wu
Only one reminder, since David has committed the two patches, you maybe need to take their impact on your patches into account. On Wed, Dec 11, 2013 at 3:00 AM, David Miller wrote: > From: Vlad Yasevich > Date: Tue, 10 Dec 2013 12:18:09 -0500 > >> On 12/09/2013 08:36 PM, David Miller wrote: >>>

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread David Miller
From: Vlad Yasevich Date: Tue, 10 Dec 2013 12:18:09 -0500 > On 12/09/2013 08:36 PM, David Miller wrote: >> From: Zhi Yong Wu >> Date: Sat, 7 Dec 2013 04:55:00 +0800 >> >>> From: Zhi Yong Wu >>> >>> By checking related codes, it is impossible that ret > len or total_len, >>> so we should

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread Vlad Yasevich
On 12/09/2013 08:36 PM, David Miller wrote: > From: Zhi Yong Wu > Date: Sat, 7 Dec 2013 04:55:00 +0800 > >> From: Zhi Yong Wu >> >> By checking related codes, it is impossible that ret > len or total_len, >> so we should remove some useless codes in both above functions. >> >> Signed-off-by:

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread David Miller
From: Vlad Yasevich vyasev...@gmail.com Date: Tue, 10 Dec 2013 12:18:09 -0500 On 12/09/2013 08:36 PM, David Miller wrote: From: Zhi Yong Wu zwu.ker...@gmail.com Date: Sat, 7 Dec 2013 04:55:00 +0800 From: Zhi Yong Wu wu...@linux.vnet.ibm.com By checking related codes, it is impossible

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread Zhi Yong Wu
Only one reminder, since David has committed the two patches, you maybe need to take their impact on your patches into account. On Wed, Dec 11, 2013 at 3:00 AM, David Miller da...@davemloft.net wrote: From: Vlad Yasevich vyasev...@gmail.com Date: Tue, 10 Dec 2013 12:18:09 -0500 On 12/09/2013

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread David Miller
From: Zhi Yong Wu zwu.ker...@gmail.com Date: Wed, 11 Dec 2013 11:14:04 +0800 Only one reminder, since David has committed the two patches, you maybe need to take their impact on your patches into account. I reverted these changes from net-next. -- To unsubscribe from this list: send the line

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread Zhi Yong Wu
On Wed, Dec 11, 2013 at 11:19 AM, David Miller da...@davemloft.net wrote: From: Zhi Yong Wu zwu.ker...@gmail.com Date: Wed, 11 Dec 2013 11:14:04 +0800 Only one reminder, since David has committed the two patches, you maybe need to take their impact on your patches into account. I reverted

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-10 Thread Vlad Yasevich
On 12/09/2013 08:36 PM, David Miller wrote: From: Zhi Yong Wu zwu.ker...@gmail.com Date: Sat, 7 Dec 2013 04:55:00 +0800 From: Zhi Yong Wu wu...@linux.vnet.ibm.com By checking related codes, it is impossible that ret len or total_len, so we should remove some useless codes in both above

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-09 Thread David Miller
From: Zhi Yong Wu Date: Sat, 7 Dec 2013 04:55:00 +0800 > From: Zhi Yong Wu > > By checking related codes, it is impossible that ret > len or total_len, > so we should remove some useless codes in both above functions. > > Signed-off-by: Zhi Yong Wu Applied. -- To unsubscribe from this

Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-09 Thread David Miller
From: Zhi Yong Wu zwu.ker...@gmail.com Date: Sat, 7 Dec 2013 04:55:00 +0800 From: Zhi Yong Wu wu...@linux.vnet.ibm.com By checking related codes, it is impossible that ret len or total_len, so we should remove some useless codes in both above functions. Signed-off-by: Zhi Yong Wu

[PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-06 Thread Zhi Yong Wu
From: Zhi Yong Wu By checking related codes, it is impossible that ret > len or total_len, so we should remove some useless codes in both above functions. Signed-off-by: Zhi Yong Wu --- drivers/net/tun.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git

[PATCH 2/2] tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()

2013-12-06 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com By checking related codes, it is impossible that ret len or total_len, so we should remove some useless codes in both above functions. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/tun.c |5 - 1 files changed, 0