Thread (4 messages) 4 messages, 4 authors, 2015-02-20

Re: [PATCH] ipv4: ip_check_defrag should correctly check return value of skb_copy_bits

flat view

From: David Miller <davem@davemloft.net>
Date: 2015-02-20 20:23:21
Also in: lkml

From: Alexander Drozdov <redacted>
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 <redacted>
Applied and queued up for -stable, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help