ip_conntrack_get ip_conntrack_put assymetry
How is it that ip_conntrack_put does an nf_conntrack_put, but ip_conntrack_get does not do nf_conntrack_get or otherwise increase the ref count.
This asymmetry is likely to be confusing, or am I already confused?
Sam
Quoted 5 lines · Amin Azez
How is it that
ip_conntrack_putdoes annf_conntrack_put, butip_conntrack_getdoes not donf_conntrack_getor otherwise increase the ref count.This asymmetry is likely to be confusing, or am I already confused?
I don't like it either, a lot of the conntrack code really wants some cleanup. The general inconsisteny in function naming (and names like ip_conntrack_find_get) are not very pretty either.