[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150413230714.2cf40794@urahara>
Date: Mon, 13 Apr 2015 23:07:14 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Sebastian Poehn <sebastian.poehn@...il.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
fw@...len.de, eric.dumazet@...il.com
Subject: Re: [PATCH] ip_forward: Drop frames with attached skb->sk
On Tue, 14 Apr 2015 07:52:04 +0200
Sebastian Poehn <sebastian.poehn@...il.com> wrote:
>
> + /* this should happen neither */
> + if (unlikely(skb->sk))
> + goto drop;
> +
With gcc, all goto's are already treated as unlikely().
--
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