]> git.baikalelectronics.ru Git - kernel.git/commit
net: systemport: correctly check for RX_STATUS_OVFLOW flag
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 5 Jun 2014 17:22:16 +0000 (10:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2014 22:36:54 +0000 (15:36 -0700)
commit72a7dee9db175398b5bc0f5521fe628fde61ae0e
tree8593ff0466835b38026f1e90aa1e9334eb681dd8
parent08ad375a4de40bc64d952a25005e4592de0d0c23
net: systemport: correctly check for RX_STATUS_OVFLOW flag

We were missing an and comparison with status to check whether
RX_STATUS_OVFLOW is asserted or not in the per-packet status word, fix
that.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c