[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEU2+vrS_HmpUmcSkrsGq0RYZxynYmXrY_Pm9ESa=280kEqSgg@mail.gmail.com>
Date: Mon, 6 Feb 2012 12:51:24 -0700
From: "Erich E. Hoover" <ehoover@...es.edu>
To: Shawn Lu <shawn.lu@...csson.com>
Cc: Linux Netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH v3 1/2] Implement IP_UNICAST_IF socket option.
On Mon, Feb 6, 2012 at 12:40 PM, Shawn Lu <shawn.lu@...csson.com> wrote:
>...
> What I mean is replace
> if (sk->sk_bound_dev_if && ifindex != sk->sk_bound_dev_if)
> With
> if (sk->sk_bound_dev_if)
Are you sure that that's appropriate? I choose to do it this way
since IP_MULTICAST_IF does the exact same check.
Erich Hoover
ehoover@...es.edu
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists