Skip to contentSkip to conversation

openvswitch: Fix log message in ovs conntrack

PATCH In review Yi-Hung Wei 2 participants 2 messages Aug 22, 2019 – Aug 25, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openvswitch: Fix log message in ovs conntrack

Fixes 06bd2bdf19d2 ("openvswitch: Add timeout support to ct action")
---
 net/openvswitch/conntrack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/openvswitch/conntrack.c +1 -1
index 45498fcf540d..0d5ab4957ec0 100644
@@ -1574,7 +1574,7 @@ static int parse_ct(const struct nlattr *attr, struct ovs_conntrack_info *info,
 		case OVS_CT_ATTR_TIMEOUT:
 			memcpy(info->timeout, nla_data(a), nla_len(a));
 			if (!memchr(info->timeout, '\0', nla_len(a))) {
-				OVS_NLERR(log, "Invalid conntrack helper");
+				OVS_NLERR(log, "Invalid conntrack timeout");
 				return -EINVAL;
 			}
 			break;
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw
Quoted 12 lines · Yi-Hung Wei
Fixes 06bd2bdf19d2 ("openvswitch: Add timeout support to ct action")
---
 net/openvswitch/conntrack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/openvswitch/conntrack.c +0 -0
index 45498fcf540d..0d5ab4957ec0 100644

net/openvswitch/conntrack.c static int parse_ct(const struct nlattr *attr, struct ovs_conntrack_info *info, · line 1580

Quoted 8 lines
net/openvswitch/conntrack.c +1 -1
@@ -1574,7 +1574,7 @@ static int parse_ct(const struct nlattr *attr, struct ovs_conntrack_info *info,
                case OVS_CT_ATTR_TIMEOUT:
                        memcpy(info->timeout, nla_data(a), nla_len(a));
                        if (!memchr(info->timeout, '\0', nla_len(a))) {
-                               OVS_NLERR(log, "Invalid conntrack helper");
+                               OVS_NLERR(log, "Invalid conntrack timeout");
                                return -EINVAL;
                        }
                        break;

Thanks,
Pravin.