OSDN Git Service

openvswitch: Remove incorrect WARN_ONCE().
authorJarno Rajahalme <jarno@ovn.org>
Tue, 2 Aug 2016 02:36:07 +0000 (19:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Aug 2016 18:50:40 +0000 (11:50 -0700)
commitbce91f8a4247905b8c40a53f72c14db908cd0710
tree7c649839adaee894f168576ac05be1e279c69f34
parentbf0f500bd0199aab613eb0ecb3412edd5472740d
openvswitch: Remove incorrect WARN_ONCE().

ovs_ct_find_existing() issues a warning if an existing conntrack entry
classified as IP_CT_NEW is found, with the premise that this should
not happen.  However, a newly confirmed, non-expected conntrack entry
remains IP_CT_NEW as long as no reply direction traffic is seen.  This
has resulted into somewhat confusing kernel log messages.  This patch
removes this check and warning.

Fixes: 289f2253 ("openvswitch: Find existing conntrack entry after upcall.")
Suggested-by: Joe Stringer <joe@ovn.org>
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/conntrack.c