forked from mirrors/linux
		
	openvswitch: Fix log message in ovs conntrack
Fixes: 06bd2bdf19 ("openvswitch: Add timeout support to ct action")
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
			
			
This commit is contained in:
		
							parent
							
								
									12e2e15d83
								
							
						
					
					
						commit
						12c6bc38f9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1565,7 +1565,7 @@ static int parse_ct(const struct nlattr *attr, struct ovs_conntrack_info *info, | ||||||
| 		case OVS_CT_ATTR_TIMEOUT: | 		case OVS_CT_ATTR_TIMEOUT: | ||||||
| 			memcpy(info->timeout, nla_data(a), nla_len(a)); | 			memcpy(info->timeout, nla_data(a), nla_len(a)); | ||||||
| 			if (!memchr(info->timeout, '\0', 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; | 				return -EINVAL; | ||||||
| 			} | 			} | ||||||
| 			break; | 			break; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Yi-Hung Wei
						Yi-Hung Wei