projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce ipv6_hdr(), remove skb->nh.ipv6h
[linux-block.git]
/
net
/
ipv6
/
xfrm6_tunnel.c
diff --git
a/net/ipv6/xfrm6_tunnel.c
b/net/ipv6/xfrm6_tunnel.c
index 93c42232aa396f7c1ddafe5310674b2b7c72c542..538499a8997506a2336ab10d0c7d457bcea5ae6c 100644
(file)
--- a/
net/ipv6/xfrm6_tunnel.c
+++ b/
net/ipv6/xfrm6_tunnel.c
@@
-257,7
+257,7
@@
static int xfrm6_tunnel_input(struct xfrm_state *x, struct sk_buff *skb)
static int xfrm6_tunnel_rcv(struct sk_buff *skb)
{
- struct ipv6hdr *iph =
skb->nh.ipv6h
;
+ struct ipv6hdr *iph =
ipv6_hdr(skb)
;
__be32 spi;
spi = xfrm6_tunnel_spi_lookup((xfrm_address_t *)&iph->saddr);