Fix the validity check of policies. This issue was reported by Coverity using CID 1232044.
Fix the validity check of policies. This issue was reported
by Coverity using CID 1232044.

tosakanth/sctp-refimpl,TopPano/sctp-refimpl,timsuchanek/sctp-refimpl,timsuchanek/sctp-refimpl,timsuchanek/sctp-refimpl,gale320/sctp-refimpl,TopPano/sctp-refimpl,gale320/sctp-refimpl,sdd330/sctp-refimpl,tosakanth/sctp-refimpl,gale320/sctp-refimpl,gale320/sctp-refimpl,sdd330/sctp-refimpl,timsuchanek/sctp-refimpl,tosakanth/sctp-refimpl,timsuchanek/sctp-refimpl,tosakanth/sctp-refimpl,gale320/sctp-refimpl,timsuchanek/sctp-refimpl,timsuchanek/sctp-refimpl,TopPano/sctp-refimpl,sdd330/sctp-refimpl,sdd330/sctp-refimpl,gale320/sctp-refimpl,TopPano/sctp-refimpl,tosakanth/sctp-refimpl,TopPano/sctp-refimpl,timsuchanek/sctp-refimpl,timsuchanek/sctp-refimpl,tosakanth/sctp-refimpl,TopPano/sctp-refimpl,sdd330/sctp-refimpl,tosakanth/sctp-refimpl,tosakanth/sctp-refimpl,TopPano/sctp-refimpl,TopPano/sctp-refimpl,gale320/sctp-refimpl,sdd330/sctp-refimpl,tosakanth/sctp-refimpl,gale320/sctp-refimpl,gale320/sctp-refimpl,sdd330/sctp-refimpl,TopPano/sctp-refimpl,sdd330/sctp-refimpl,sdd330/sctp-refimpl