[OpenWrt-Devel] [PATCH 2/2] iprule: rework interface based rules to handle dynamic interfaces

Alexander Couzens lynxis at fe80.eu
Fri Jun 29 17:12:02 EDT 2018

On Fri, 29 Jun 2018 16:23:02 +0200
Hans Dedecker <dedeckeh at gmail.com> wrote:

> On Fri, Jun 29, 2018 at 5:23 AM Alexander Couzens <lynxis at fe80.eu>
> wrote: [...]  
> Is the rule_ready check and consequent call to system_add_iprule still
> required ? Above calls to interface_add_user install the callbacks; if
> the interface is up rule_in_cb and/or rule_out_cb is immediately
> invoked by interface_add_user which installs the ip rule if the rule
> is ready.

Indeed, it's not needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20180629/e9bd6904/attachment.sig>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list