git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
esp: Fix error handling on layer 2 xmit.
[sfrench/cifs-2.6.git]
/
net
/
ipv4
/
esp4_offload.c
diff --git
a/net/ipv4/esp4_offload.c
b/net/ipv4/esp4_offload.c
index e0666016a7642c017b4693d32723245adc484982..50112324fa5c3638527b12477c356ce406ba9a36 100644
(file)
--- a/
net/ipv4/esp4_offload.c
+++ b/
net/ipv4/esp4_offload.c
@@
-257,7
+257,7
@@
static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_
esp.seqno = cpu_to_be64(xo->seq.low + ((u64)xo->seq.hi << 32));
err = esp_output_tail(x, skb, &esp);
- if (err
< 0
)
+ if (err)
return err;
secpath_reset(skb);