diff options
author | Jiri Bohac <jbohac@suse.cz> | 2012-05-09 01:01:40 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-11 03:30:01 (GMT) |
commit | 13a8e0c8cdb43982372bd6c65fb26839c8fd8ce9 (patch) | |
tree | 824f5daec5b68663a7feaebb76ebbb2cfce5d4c0 /kernel/.gitignore | |
parent | 38bf1953987c1735f3c9140fca762949a8cae507 (diff) | |
download | linux-fsl-qoriq-13a8e0c8cdb43982372bd6c65fb26839c8fd8ce9.tar.xz |
bonding: don't increase rx_dropped after processing LACPDUs
Since commit 3aba891d, bonding processes LACP frames (802.3ad
mode) with bond_handle_frame(). Currently a copy of the skb is
made and the original is left to be processed by other
rx_handlers and the rest of the network stack by returning
RX_HANDLER_ANOTHER. As there is no protocol handler for
PKT_TYPE_LACPDU, the frame is dropped and dev->rx_dropped
increased.
Fix this by making bond_handle_frame() return RX_HANDLER_CONSUMED
if bonding has processed the LACP frame.
Signed-off-by: Jiri Bohac <jbohac@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/.gitignore')
0 files changed, 0 insertions, 0 deletions