A packet may not have valid L2 offset set, so odp_packet_l2_offset() cannot be used when transmitting packets. Signed-off-by: Matias Elo matias....@nokia.com
----------------github------------------------ /** Email created from pull request 158 (matiaselo:fix/socket_tx) ** https://github.com/Linaro/odp/pull/158 ** Patch: https://github.com/Linaro/odp/pull/158.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: a6f2981afee19796ea812c4b5092f271202fcec3 **/ ----------------/github------------------------ ----------------checkpatch.pl------------------------ total: 0 errors, 0 warnings, 0 checks, 8 lines checked to_send-p-000.patch has no obvious style problems and is ready for submission. ----------------/checkpatch.pl------------------------