From: Jiri Bohac <jbohac@suse.cz>
To: Jay Vosburgh <fubar@us.ibm.com>
Cc: Jiri Bohac <jbohac@suse.cz>, Andy Gospodarek <andy@greyhouse.net>,
	netdev@vger.kernel.org
Subject: Re: [PATCH][RESEND] bonding: delete migrated IP addresses from the rlb hash table
Date: Wed, 28 Nov 2012 15:38:53 +0100	[thread overview]
Message-ID: <20121128143853.GA2485@midget.suse.cz> (raw)
In-Reply-To: <26343.1354064725@death.nxdomain>
On Tue, Nov 27, 2012 at 05:05:25PM -0800, Jay Vosburgh wrote:
> Jiri Bohac <jbohac@suse.cz> wrote:
> >Were there any results of your testing?  Good or bad?
> 
> 	I did test it quite a bit (and then neglected to follow up).  I
> tried various deliberate hash collisions to try and make it fail in a
> corner case, but was unable to induce incorrect behavior.
Thanks for the review!
> 	The only issue I see is that a number of added lines run past 80
> columns, e.g.,
> 
> +		if (!(client_info->assigned && client_info->ip_src == arp->ip_src)) {
> +			/* ip_src is going to be updated, fix the src hash list */
> +			u32 hash_src = _simple_hash((u8 *)&arp->ip_src, sizeof(arp->ip_src));
> 
> +	 * sending out client updates with this IP address and the old MAC address.
> 
> +	for (; hash_index != RLB_NULL_INDEX; hash_index = client_info->used_next) {
> 
> 	... and so on. 
I'll re-send a new version with all the >80 column lines fixed.
> I did not compile and test this version, just
> applied it and inspected it; presumably it is functionally identical to
> the prior version. 
Yes, it's identical, only the comments and formatting changed.
> There's also one typo I noted near the end of the
> patch.
Fixed as well. Thanks!
-- 
Jiri Bohac <jbohac@suse.cz>
SUSE Labs, SUSE CZ
next prev parent reply	other threads:[~2012-11-28 14:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-20 20:37 [PATCH][RESEND] bonding: delete migrated IP addresses from the rlb hash table Jiri Bohac
2012-06-21 23:05 ` Jay Vosburgh
2012-11-23 12:44   ` Jiri Bohac
2012-11-28  1:05     ` Jay Vosburgh
2012-11-28 14:38       ` Jiri Bohac [this message]
2012-11-28 14:42         ` Jiri Bohac
2012-11-29 21:10           ` Jay Vosburgh
2012-11-30 17:08             ` David Miller
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=20121128143853.GA2485@midget.suse.cz \
    --to=jbohac@suse.cz \
    --cc=andy@greyhouse.net \
    --cc=fubar@us.ibm.com \
    --cc=netdev@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).