[lkml]   [2015]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] bridge: make it possible for packets to traverse the bridge withour hitting netfilter
From: Imre Palik <>
Date: Tue, 10 Feb 2015 10:32:24 +0100

> From: "Palik, Imre" <>
> The netfilter code is made with flexibility instead of performance in mind.
> So when all we want is to pass packets between different interfaces, the
> performance penalty of hitting netfilter code can be considerable, even when
> all the firewalling is disabled for the bridge.
> This change makes it possible to disable netfilter both on a per bridge basis,
> or for the whole bridging subsystem. In the case interesting to us, this can
> lead to more than 10% speedup compared to the case when only bridge-iptables
> are disabled.
> Cc: Anthony Liguori <>
> Signed-off-by: Imre Palik <>

Sorry, no.

If I apply this, someone is going to try to submit a patch for every
damn protocol layer to add a stupid hack like this.

Makw NF_HOOK() faster instead.

 \ /
  Last update: 2015-02-11 23:41    [W:0.058 / U:30.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site