Are you sure you are right?
First I am sorry for stupid patch, second I said again, I do test it,
but do not enough test.
uninitialized pointer is not NULL pointer, so it not kernel panic when
use "addr_param->v4.param_hdr.type", this patch cause function alaways
return SCTP_ERROR_INV_PARAM error, so even if I add IPv6 address to peer
which not supported IPv6 address or add IPv4 address to peer which not
supported IPv4 address is returned SCTP_ERROR_INV_PARAM, and passed my
test case.
I not do test add IPv4/IPv6 address to peer which supported IPv4/IPv6
address, this is my fault .
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html