Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 05006e8c authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller
Browse files

esp4: remove assignment in if condition


Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 90284c2b
Branches
Tags
No related merge requests found
......@@ -392,8 +392,10 @@ static int esp_input(struct xfrm_state *x, struct sk_buff *skb)
if (elen <= 0)
goto out;
if ((err = skb_cow_data(skb, 0, &trailer)) < 0)
err = skb_cow_data(skb, 0, &trailer);
if (err < 0)
goto out;
nfrags = err;
assoclen = sizeof(*esph);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment