projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-5.12/io_uring-2021-02-17' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git]
/
net
/
ipv4
/
esp4_offload.c
diff --git
a/net/ipv4/esp4_offload.c
b/net/ipv4/esp4_offload.c
index
5bda5ae
..
601f5fb
100644
(file)
--- a/
net/ipv4/esp4_offload.c
+++ b/
net/ipv4/esp4_offload.c
@@
-285,7
+285,7
@@
static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_
esp.esph = ip_esp_hdr(skb);
- if (!hw_offload ||
(hw_offload && !skb_is_gso(skb)
)) {
+ if (!hw_offload ||
!skb_is_gso(skb
)) {
esp.nfrags = esp_output_head(x, skb, &esp);
if (esp.nfrags < 0)
return esp.nfrags;