John Daley 4a3259d620 enic: fix offset for Rx mbuf data
The code to provide mbufs for RX used m->data_off instead of
RTE_PKTMBUF_HEADROOM as the position inside the mbuf for the data to be
written. As the mbuf is uninitialised, this could potentially cause Rx
data to be placed at the wrong address in the mbuf - or even outside it.

Fixes: 947d860c821f ("enic: improve Rx performance")

Signed-off-by: John Daley <johndale@cisco.com>
2016-05-06 15:51:22 +02:00
..
2016-03-30 19:39:07 +02:00
2015-09-30 01:19:19 +02:00
2016-05-06 15:51:22 +02:00
2015-09-30 01:19:19 +02:00
2016-05-06 15:51:22 +02:00
2016-05-02 15:31:17 +02:00
2015-05-22 16:05:52 +02:00
2016-03-16 16:57:12 +01:00