Re: [PATCH] netfilter: nf_flow_table: add conntrack accounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Crispin <john@xxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux