Re: [PATCH] ebtables: Allow RETURN target rules in user defined chains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alin Nastac <alin.nastac@xxxxxxxxx> wrote:
> ebtables has a bug that prevents creation of rules with RETURN target, any attempt will result in an
>    RETURN not allowed on base chain
> error even if the chain where you want to create the rule is a user defined chain.
> 
> Reproduction scenario:
>    root@OpenWrt:~# ebtables -N foo
>    root@OpenWrt:~# ebtables -A OUTPUT -j foo
>    root@OpenWrt:~# ebtables -A foo -j mark --mark-or 3 --mark-target RETURN
>    --mark-target RETURN not allowed on base chain.
> 
> My email client will probably replace tabs in the patch below, but

Yes, I applied this manually (with minor edits to commit message).

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux