John Crispin <[email protected]> wrote:
> Currently traffic that hits the SW offloading path is not accounted for
> and the conntrack counters will only show the first packet of the flow.
> This patch adds a small helper function that gets called from the nf_hooks,
> updating the accounting counters.

Not sure this is a good idea.  With offload accouting might not be
available at all.

>       neigh_xmit(NEIGH_ARP_TABLE, outdev, &nexthop, skb);
> +     nf_flow_offload_acct(flow, skb, dir);

Won't skb be already free'd here by xmit routine?
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to