projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'ib/5.17-cros-ec-keyb' into next
[platform/kernel/linux-starfive.git]
/
net
/
ipv6
/
esp6.c
diff --git
a/net/ipv6/esp6.c
b/net/ipv6/esp6.c
index
b0ffbcd
..
55d604c
100644
(file)
--- a/
net/ipv6/esp6.c
+++ b/
net/ipv6/esp6.c
@@
-812,8
+812,7
@@
int esp6_input_done2(struct sk_buff *skb, int err)
struct tcphdr *th;
offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off);
-
- if (offset < 0) {
+ if (offset == -1) {
err = -EINVAL;
goto out;
}