RE: [PATCH v2 2/6] net: fix L2TPv2 common header

2022-01-28 Thread Wang, Jie1X
bche...@oktetlabs.ru; Wu, Jingjing ; Xing, > Beilei ; Zhang, Qi Z ; Wang, > Jie1X > Subject: Re: [PATCH v2 2/6] net: fix L2TPv2 common header > > On 1/26/2022 6:30 AM, Jie Wang wrote: > > The fields of L2TPv2 common header were reversed in big endian and > > little en

Re: [PATCH v2 2/6] net: fix L2TPv2 common header

2022-01-28 Thread Ferruh Yigit
On 1/26/2022 6:30 AM, Jie Wang wrote: The fields of L2TPv2 common header were reversed in big endian and little endian. This patch fixes this error to ensure L2TPv2 can be parsed correctly. Just for reference, checked from RFC: https://datatracker.ietf.org/doc/html/rfc2661#section-3.1 Change

[PATCH v2 2/6] net: fix L2TPv2 common header

2022-01-25 Thread Jie Wang
The fields of L2TPv2 common header were reversed in big endian and little endian. This patch fixes this error to ensure L2TPv2 can be parsed correctly. Fixes: 3a929df1f286 ("ethdev: support L2TPv2 and PPP procotol") Signed-off-by: Jie Wang --- lib/net/rte_l2tpv2.h | 20 ++-- 1