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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user