net: Add full IPv6 addresses to flow_keys
[deliverable/linux.git] / drivers / net / ethernet / cisco / enic / enic_ethtool.c
index 117c0968dd0b4520e42286acce4e67550b2fb745..73874b2575bf1e85983feee3fa4b67ff67431d8c 100644 (file)
@@ -346,10 +346,10 @@ static int enic_grxclsrule(struct enic *enic, struct ethtool_rxnfc *cmd)
                break;
        }
 
-       fsp->h_u.tcp_ip4_spec.ip4src = n->keys.addrs.src;
+       fsp->h_u.tcp_ip4_spec.ip4src = flow_get_u32_src(&n->keys);
        fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0;
 
-       fsp->h_u.tcp_ip4_spec.ip4dst = n->keys.addrs.dst;
+       fsp->h_u.tcp_ip4_spec.ip4dst = flow_get_u32_dst(&n->keys);
        fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0;
 
        fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src;
This page took 0.02528 seconds and 5 git commands to generate.