Re: [PATCH][nf-next][v2] netfilter: convert the proto argument from u8 to u16

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

 



On Fri, Feb 22, 2019 at 09:45:52PM +0800, Li RongQing wrote:
> The proto in struct xt_match and struct xt_target is u16, when
> calling xt_check_target/match, their proto argument is u8,
> and will cause truncation, it is harmless to ip packet, since
> ip proto is u8
> 
> if a etable's match/target has proto that is u16, will cause
> the check failure.
> 
> and convert be16 to short in bridge/netfilter/ebtables.c

Applied, thanks.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux