openvswitch: Fix log message in ovs conntrack
Subsystems (3)
PATCH 1/1 openvswitch: Fix log message in ovs conntrack
Fixes 06bd2bdf19d2 ("openvswitch: Add timeout support to ct action")
Signed-off-by Yi-Hung Wei <[email protected]>
--- net/openvswitch/conntrack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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 ;
Signature · 1 line
2.7.4
Quoted 12 lines · Yi-Hung Wei
Fixes 06bd2bdf19d2 ("openvswitch: Add timeout support to ct action")Signed-off-by Yi-Hung Wei <[email protected]>--- net/openvswitch/conntrack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)net/openvswitch/conntrack.c +0
-0
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 ;
Acked-by Pravin B Shelar <[email protected]>
Thanks,
Pravin.