[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130813.192943.865924891130626725.davem@davemloft.net>
Date: Tue, 13 Aug 2013 19:29:43 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wpan@...hat.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] tun: compare with 0 instead of total_len
From: Weiping Pan <wpan@...hat.com>
Date: Tue, 13 Aug 2013 21:46:56 +0800
> Since we set "len = total_len" in the beginning of tun_get_user(),
> so we should compare the new len with 0, instead of total_len,
> or the if statement always returns false.
>
> Signed-off-by: Weiping Pan <wpan@...hat.com>
Definitely looks correct to me, applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists