Re: [PATCH net v2] openvswitch: fix conntrack netlink event delivery

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

 



From: Samuel Gauthier <samuel.gauthier@xxxxxxxxx>
Date: Tue, 28 Jun 2016 17:22:26 +0200

> Only the first and last netlink message for a particular conntrack are
> actually sent. The first message is sent through nf_conntrack_confirm when
> the conntrack is committed. The last one is sent when the conntrack is
> destroyed on timeout. The other conntrack state change messages are not
> advertised.
> 
> When the conntrack subsystem is used from netfilter, nf_conntrack_confirm
> is called for each packet, from the postrouting hook, which in turn calls
> nf_ct_deliver_cached_events to send the state change netlink messages.
> 
> This commit fixes the problem by calling nf_ct_deliver_cached_events in the
> non-commit case as well.
> 
> Fixes: 7f8a436eaa2c ("openvswitch: Add conntrack action")
> CC: Joe Stringer <joestringer@xxxxxxxxxx>
> CC: Justin Pettit <jpettit@xxxxxxxxxx>
> CC: Andy Zhou <azhou@xxxxxxxxxx>
> CC: Thomas Graf <tgraf@xxxxxxx>
> Signed-off-by: Samuel Gauthier <samuel.gauthier@xxxxxxxxx>

Applied.
--
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