[dpdk-dev] [PATCH] net/enic: fix possible Rx corruption

2016-07-22 Thread Thomas Monjalon
2016-07-19 15:42, John Daley: > Initialize the mbuf data offset to RTE_PKTMBUF_HEADROOM as the > enic takes ownership of them. If allocated mbufs had some offset > other than RTE_PKTMBUF_HEADROOM, the application would read mbuf > data starting at the wrong place and misinterpret the packet. > > F

[dpdk-dev] [PATCH] net/enic: fix possible Rx corruption

2016-07-19 Thread John Daley
Initialize the mbuf data offset to RTE_PKTMBUF_HEADROOM as the enic takes ownership of them. If allocated mbufs had some offset other than RTE_PKTMBUF_HEADROOM, the application would read mbuf data starting at the wrong place and misinterpret the packet. Fixes: 856d7ba7ed22 ("net/enic: support sca