diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-12 00:29:39 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-12 18:08:44 -0500 |
commit | 1d28f42c1bd4bb2363d88df74d0128b4da135b4a (patch) | |
tree | cb2e652fe79a2bc307e871bc2d3fa51cc8051e45 /net/ipv4/ipmr.c | |
parent | ca116922afa8cc5ad46b00c0a637b1cde5ca478a (diff) |
net: Put flowi_* prefix on AF independent members of struct flowi
I intend to turn struct flowi into a union of AF specific flowi
structs. There will be a common structure that each variant includes
first, much like struct sock_common.
This is the first step to move in that direction.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipmr.c')
-rw-r--r-- | net/ipv4/ipmr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index 594a3004367b..3b72b0a26d7e 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c | |||
@@ -436,9 +436,9 @@ static netdev_tx_t reg_vif_xmit(struct sk_buff *skb, struct net_device *dev) | |||
436 | struct net *net = dev_net(dev); | 436 | struct net *net = dev_net(dev); |
437 | struct mr_table *mrt; | 437 | struct mr_table *mrt; |
438 | struct flowi fl = { | 438 | struct flowi fl = { |
439 | .oif = dev->ifindex, | 439 | .flowi_oif = dev->ifindex, |
440 | .iif = skb->skb_iif, | 440 | .flowi_iif = skb->skb_iif, |
441 | .mark = skb->mark, | 441 | .flowi_mark = skb->mark, |
442 | }; | 442 | }; |
443 | int err; | 443 | int err; |
444 | 444 | ||
@@ -1793,9 +1793,9 @@ static struct mr_table *ipmr_rt_fib_lookup(struct net *net, struct rtable *rt) | |||
1793 | .fl4_dst = rt->rt_key_dst, | 1793 | .fl4_dst = rt->rt_key_dst, |
1794 | .fl4_src = rt->rt_key_src, | 1794 | .fl4_src = rt->rt_key_src, |
1795 | .fl4_tos = rt->rt_tos, | 1795 | .fl4_tos = rt->rt_tos, |
1796 | .oif = rt->rt_oif, | 1796 | .flowi_oif = rt->rt_oif, |
1797 | .iif = rt->rt_iif, | 1797 | .flowi_iif = rt->rt_iif, |
1798 | .mark = rt->rt_mark, | 1798 | .flowi_mark = rt->rt_mark, |
1799 | }; | 1799 | }; |
1800 | struct mr_table *mrt; | 1800 | struct mr_table *mrt; |
1801 | int err; | 1801 | int err; |