https://bugs.linaro.org/show_bug.cgi?id=1854
Bug ID: 1854
Summary: CID 152857: Error handling issues:
odp_pktio_term_global
Product: OpenDataPlane - linux- generic reference
Version: 1.3
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: ---
Component: Packet IO
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
/platform/linux-generic/odp_packet_io.c: 96 in odp_pktio_term_global()
90 int ret = 0;
91 int id;
92 int pktio_if;
93
94 for (id = 1; id <= ODP_CONFIG_PKTIO_ENTRIES; ++id) {
95 pktio_entry = &pktio_tbl->entries[id - 1];
>>> CID 152857: Error handling issues (CHECKED_RETURN)
>>> Calling "odp_pktio_close" without checking return value (as is done
>>> elsewhere 12 out of 13 times).
96 odp_pktio_close(pktio_entry->s.handle);
97 odp_queue_destroy(pktio_entry->s.outq_default);
98 }
99
100 for (pktio_if = 0; pktio_if_ops[pktio_if]; ++pktio_if) {
101 if (pktio_if_ops[pktio_if]->term)
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp