[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150923.142614.1207533432015286248.davem@davemloft.net>
Date: Wed, 23 Sep 2015 14:26:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: daniel@...earbox.net
Cc: ast@...mgrid.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] sched, bpf: let stack handle !IFF_UP devs on
bpf_clone_redirect
From: Daniel Borkmann <daniel@...earbox.net>
Date: Wed, 23 Sep 2015 22:20:15 +0200
> Similarly as already the case in bpf_redirect()/skb_do_redirect()
> pair, let the stack deal with devs that are !IFF_UP.
>
> dev_forward_skb() as well as dev_queue_xmit() will free the skb
> and increment drop counter internally in such cases, so we can
> spare the condition in bpf_clone_redirect().
>
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
Applied, thanks Daniel.
--
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