diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-12 05:44:35 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-12 23:08:46 (GMT) |
commit | 56bb8059e1a8bf291054c26367564dc302f6fd8f (patch) | |
tree | 56ec5ae2c1856208ccf97a0cd6b21ab0587f34cf /include/net/dn.h | |
parent | 6281dcc94a96bd73017b2baa8fa83925405109ef (diff) | |
download | linux-56bb8059e1a8bf291054c26367564dc302f6fd8f.tar.xz |
net: Break struct flowi out into AF specific instances.
Now we have struct flowi4, flowi6, and flowidn for each address
family. And struct flowi is just a union of them all.
It might have been troublesome to convert flow_cache_uli_match() but
as it turns out this function is completely unused and therefore can
be simply removed.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dn.h')
-rw-r--r-- | include/net/dn.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/dn.h b/include/net/dn.h index a514a3c..558dc7f 100644 --- a/include/net/dn.h +++ b/include/net/dn.h @@ -194,8 +194,8 @@ static inline void dn_dn2eth(unsigned char *ethaddr, __le16 addr) static inline void dn_sk_ports_copy(struct flowi *fl, struct dn_scp *scp) { - fl->uli_u.dnports.sport = scp->addrloc; - fl->uli_u.dnports.dport = scp->addrrem; + fl->u.dn.uli.ports.sport = scp->addrloc; + fl->u.dn.uli.ports.dport = scp->addrrem; } extern unsigned dn_mss_from_pmtu(struct net_device *dev, int mtu); |