Re: [PATCH nft v5] meta: add ibrpvid and ibrvproto support

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

 



On Tue, Aug 27, 2019 at 11:10:29AM +0800, wenxu wrote:
> 
> On 8/26/2019 10:37 PM, Pablo Neira Ayuso wrote:
> > On Mon, Aug 26, 2019 at 09:51:57PM +0800, wenxu wrote:
> >> 在 2019/8/26 18:26, Pablo Neira Ayuso 写道:
[...]
> >> The br_vlan_get_proto returns vlan_proto in host byte order.
> > Then, that's why ethertype datatype does not work, because it expects
> > this network byteorder.
>
> So should I add new vlanproto datatype for this case? Or  Convert
> the vlanproto to network byteorder in  kernel like what
> NFT_META_PROTOCOL did?

Yes please, send me a patch to fix for nf.git to get
NFT_META_BRI_IIFVPROTO in sync with NFT_META_PROTOCOL, ie. use network
byte order.



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

  Powered by Linux