projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IPV4]: Add 'rtable' field in struct sk_buff to alias 'dst' and avoid casts
[deliverable/linux.git]
/
net
/
ipv4
/
ip_forward.c
diff --git
a/net/ipv4/ip_forward.c
b/net/ipv4/ip_forward.c
index 0b3b328d82db608519ce2fbb57050b1f944da959..9d6d3befd8542c927df4b6f67c5e2b703c87df69 100644
(file)
--- a/
net/ipv4/ip_forward.c
+++ b/
net/ipv4/ip_forward.c
@@
-80,7
+80,7
@@
int ip_forward(struct sk_buff *skb)
if (!xfrm4_route_forward(skb))
goto drop;
- rt =
(struct rtable*)skb->dst
;
+ rt =
skb->rtable
;
if (opt->is_strictroute && rt->rt_dst != rt->rt_gateway)
goto sr_failed;
This page took
0.027555 seconds
and
5
git commands to generate.