TCP proto info

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

 



Hi,

I have an application using libnetfilter_conntrack-0.100 that started 
reporting errors after the commit: 

1c450e1595afdc8d1bfabb4f640c9251808426eb.

I've checked that the error happens because the kernel sees an empty 
CTA_PROTOINFO attribute when parsing a conntrack update.
In the case of my application I was just trying to update the timeout of a 
TCP conntrack and so I didn't specify any of the TCP protoinfo attributes. 
With the previous library version no CTA_PROTOINFO attribute was set in 
the conntrack and no error was seen (this is valid from the point of view 
of the kernel). Now, an error is reported and the netlink command ignored.
What do you think would be the right fix? Should the commit be reverted? 
Or is the application obliged to specify attributes which it doesn't want 
to modify (and introduce possible race conditions since it's usually a 
read/write/modify)?

Br,
Rui

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