Closed QinLongFei closed 3 years ago
In ofp_packet_input, if pkt_func return OFP_PKT_DROP, this packet will be freed. But after that, it will be freed again in ofp_sp_input if SP is not defined.
If res is OFP_PKT_DROP then is not OFP_PKT_CONTINUE. So return will be called.
if (res != OFP_PKT_CONTINUE) return res;
You are right! Thanks
In ofp_packet_input, if pkt_func return OFP_PKT_DROP, this packet will be freed. But after that, it will be freed again in ofp_sp_input if SP is not defined.