projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipv6/ila: fix nlsize calculation for lwtunnel
[deliverable/linux.git]
/
net
/
ipv6
/
ila
/
ila_lwt.c
diff --git
a/net/ipv6/ila/ila_lwt.c
b/net/ipv6/ila/ila_lwt.c
index 2ae3c4fd8aabc65a7206a73480b3dca4b975f7e3..41f18de5dcc2cda4686af5fe89c8ab4760966d91 100644
(file)
--- a/
net/ipv6/ila/ila_lwt.c
+++ b/
net/ipv6/ila/ila_lwt.c
@@
-120,8
+120,7
@@
nla_put_failure:
static int ila_encap_nlsize(struct lwtunnel_state *lwtstate)
{
- /* No encapsulation overhead */
- return 0;
+ return nla_total_size(sizeof(u64)); /* ILA_ATTR_LOCATOR */
}
static int ila_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b)
This page took
0.024541 seconds
and
5
git commands to generate.