diff options
author | Ashish Sharma <ashishsharma@google.com> | 2011-10-07 17:54:16 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:39:11 -0800 |
commit | 1fdfef5e6e218d28da745e2e816ef8b6ddb7e550 (patch) | |
tree | 717a401aea54e37d485df3e9d38f3e688fd9e8cc /net/rds | |
parent | 7098e8e32c2dfcfc1b8e00a62d3fbbe13e00b214 (diff) |
bridge: Have tx_bytes count headers like rx_bytes.
Since rx_bytes accounting does not include Ethernet Headers in
br_input.c, excluding ETH_HLEN on the transmit path for consistent
measurement of packet length on both the Tx and Rx chains.
The clean way would be for Rx to include the eth header, but the
skb len has already been adjusted by the time the br code sees the skb.
This is only a temporary workaround until we can completely ignore or
cleanly fix the skb->len handling.
Change-Id: I910de95a4686b2119da7f1f326e2154ef31f9972
Signed-off-by: Ashish Sharma <ashishsharma@google.com>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions