enic: fix mbuf flags on Rx
authorJohn Daley <johndale@cisco.com>
Thu, 17 Mar 2016 22:57:05 +0000 (15:57 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 25 Mar 2016 18:01:31 +0000 (19:01 +0100)
commit3253bbc79c8a1eddf791d9ec11bcea4a004d258e
tree37c38f0db233356296e66b5a69e9fda93f742a60
parentddf2da3ecec97a316838f40fe13e217afafc6252
enic: fix mbuf flags on Rx

In the receive path, the function to set mbuf ol_flags used the
mbuf packet_type before it was set.

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

Signed-off-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_rx.c