git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mbuf: remove the rte_pktmbuf structure
[dpdk.git]
/
examples
/
l3fwd-vf
/
main.c
diff --git
a/examples/l3fwd-vf/main.c
b/examples/l3fwd-vf/main.c
index
2ca5c21
..
7b1e08a
100644
(file)
--- a/
examples/l3fwd-vf/main.c
+++ b/
examples/l3fwd-vf/main.c
@@
-489,7
+489,7
@@
l3fwd_simple_forward(struct rte_mbuf *m, uint8_t portid, lookup_struct_t * l3fwd
#ifdef DO_RFC_1812_CHECKS
/* Check to make sure the packet is valid (RFC1812) */
- if (is_valid_ipv4_pkt(ipv4_hdr, m->pkt
.pkt
_len) < 0) {
+ if (is_valid_ipv4_pkt(ipv4_hdr, m->pkt_len) < 0) {
rte_pktmbuf_free(m);
return;
}