projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94579ac
)
xfrm: merge fixup for "remove output_finish indirection from xfrm_state_afinfo"
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Mon, 11 May 2020 03:00:15 +0000
(13:00 +1000)
committer
Steffen Klassert
<steffen.klassert@secunet.com>
Fri, 5 Jun 2020 06:10:08 +0000
(08:10 +0200)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_output.c
patch
|
blob
|
history
diff --git
a/net/xfrm/xfrm_output.c
b/net/xfrm/xfrm_output.c
index
e4c23f6
..
a7ab193
100644
(file)
--- a/
net/xfrm/xfrm_output.c
+++ b/
net/xfrm/xfrm_output.c
@@
-574,16
+574,12
@@
int xfrm_output(struct sock *sk, struct sk_buff *skb)
switch (x->outer_mode.family) {
case AF_INET:
memset(IPCB(skb), 0, sizeof(*IPCB(skb)));
-#ifdef CONFIG_NETFILTER
IPCB(skb)->flags |= IPSKB_XFRM_TRANSFORMED;
-#endif
break;
case AF_INET6:
memset(IP6CB(skb), 0, sizeof(*IP6CB(skb)));
-#ifdef CONFIG_NETFILTER
IP6CB(skb)->flags |= IP6SKB_XFRM_TRANSFORMED;
-#endif
break;
}