Doubt about CTA_EXPECT_* values passed to ctnetlink_parse_tuple()

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

 



Hi,

While working on clang support for kernel builds I came across at what
at first sight looks like an enum mismatch in the netfilter conntrack
code:

In multiple occasions CTA_EXPECT_* values (of type enum ctattr_expect)
are passed to ctnetlink_parse_tuple(), which expects an 'enum
ctattr_type' as type argument.

In other cases unintentional use of a wrong enum type maybe be
obvious, in this case however it isn't clear to me which 'enum
ctattr_type' should be passed instead, so I wonder if the use of the
different type is intended.

Could someone please briefly clarify? My background on netfilter
internals is zero, so please forgive my probably naive question.

Thanks

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