Re: [nft PATCH v2] evaluate: reject: fix crash on NULL location with bridge and tcp reset

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

 



On Wed, Nov 26, 2014 at 12:07:51PM +0100, Alvaro Neira Ayuso wrote:
> If we use tcp reset with a network protocol that tcp is not supported,
> we display an error. This error use the reject.expr location which is NULL,
> therefore we have a crash. This patch replaces it using the reject statement
> to display the error like:
> 
> Rule:
>  nft add bridge filter input ether type vlan reject with tcp reset
> Output:
>  <cmdline>:1:46-51: Error: cannot reject this ether type
>  add rule bridge filter input ether type vlan reject with tcp reset

Applied, 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