From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: vitalyb@telenet.dn.ua, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org, fubar@us.ibm.com, linux@8192.net
Subject: Re: Bonding driver has bad load balancing for forwarded traffic, 3.7+
Date: Thu, 18 Apr 2013 15:09:10 -0400 (EDT) [thread overview]
Message-ID: <20130418.150910.1780951630545456624.davem@davemloft.net> (raw)
In-Reply-To: <1366081404.4459.127.camel@edumazet-glaptop>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Mon, 15 Apr 2013 20:03:24 -0700
> [PATCH] bonding: fix l23 and l34 load balancing in forwarding path
>
> Since commit 6b923cb7188d46 (bonding: support for IPv6 transmit hashing)
> bonding doesn't properly hash traffic in forwarding setups.
>
> Vitaly V. Bursov diagnosed that skb_network_header_len() returned 0 in
> this case.
>
> More generally, the transport header might not be in the skb head.
>
> Use pskb_may_pull() & skb_header_pointer() to get it right, and use
> proto_ports_offset() in bond_xmit_hash_policy_l34() to get support for
> more protocols than TCP and UDP.
>
> Reported-by: Vitaly V. Bursov <vitalyb@telenet.dn.ua>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied and queued up for -stable, but:
> + sizeof(_l4), &_l4);
^^^^^^^^^^^^^^^^^^^^^^^^^
That's some rather amazing trailing whitespace. Are you trying to break
free of earth's atmosphere? :-)
next prev parent reply other threads:[~2013-04-18 19:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-15 13:57 Vitaly V. Bursov
2013-04-16 0:37 ` Eric Dumazet
2013-04-16 3:03 ` Eric Dumazet
2013-04-16 9:01 ` Vitaly V. Bursov
2013-04-16 13:51 ` Eric Dumazet
2013-04-16 14:25 ` Eric Dumazet
2013-04-16 20:39 ` David Miller
2013-04-18 19:09 ` David Miller [this message]
2013-04-18 19:33 ` Eric Dumazet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130418.150910.1780951630545456624.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=fubar@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@8192.net \
--cc=netdev@vger.kernel.org \
--cc=vitalyb@telenet.dn.ua \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®