[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150220.152317.2246116638858595617.davem@davemloft.net>
Date: Fri, 20 Feb 2015 15:23:17 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: al.drozdov@...il.com
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
kaber@...sh.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipv4: ip_check_defrag should correctly check return
value of skb_copy_bits
From: Alexander Drozdov <al.drozdov@...il.com>
Date: Tue, 17 Feb 2015 13:33:46 +0300
> skb_copy_bits() returns zero on success and negative value on error,
> so it is needed to invert the condition in ip_check_defrag().
>
> Fixes: 1bf3751ec90c ("ipv4: ip_check_defrag must not modify skb before unsharing")
> Signed-off-by: Alexander Drozdov <al.drozdov@...il.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists