From: Muhammad Falak R Wani <hidden> Date: 2021-08-08 12:24:54
The code to find h_vlan_encapsulated_proto is duplicated.
Remove the extra block.
Signed-off-by: Muhammad Falak R Wani <redacted>
---
samples/bpf/xdp1_kern.c | 9 ---------
1 file changed, 9 deletions(-)
From: Yonghong Song <hidden> Date: 2021-08-08 16:54:10
On 8/8/21 5:24 AM, Muhammad Falak R Wani wrote:
quoted hunk
The code to find h_vlan_encapsulated_proto is duplicated.
Remove the extra block.
Signed-off-by: Muhammad Falak R Wani <redacted>
---
samples/bpf/xdp1_kern.c | 9 ---------
1 file changed, 9 deletions(-)
From: Muhammad Falak Reyaz <hidden> Date: 2021-08-08 17:20:00
On Sun, Aug 8, 2021 at 10:23 PM Yonghong Song [off-list ref] wrote:
On 8/8/21 5:24 AM, Muhammad Falak R Wani wrote:
quoted
The code to find h_vlan_encapsulated_proto is duplicated.
Remove the extra block.
Signed-off-by: Muhammad Falak R Wani <redacted>
---
samples/bpf/xdp1_kern.c | 9 ---------
1 file changed, 9 deletions(-)
Apologies :(
I now realize, it could be double vlan encapsulated.
Would it make sense to add an explicit comment for newbies like me ?
I can send a patch, if it is okay.
-mfrw
From: Yonghong Song <hidden> Date: 2021-08-09 00:02:00
On 8/8/21 10:19 AM, Muhammad Falak Reyaz wrote:
On Sun, Aug 8, 2021 at 10:23 PM Yonghong Song [off-list ref] wrote:
quoted
On 8/8/21 5:24 AM, Muhammad Falak R Wani wrote:
quoted
The code to find h_vlan_encapsulated_proto is duplicated.
Remove the extra block.
Signed-off-by: Muhammad Falak R Wani <redacted>
---
samples/bpf/xdp1_kern.c | 9 ---------
1 file changed, 9 deletions(-)
Apologies :(
I now realize, it could be double vlan encapsulated.
Would it make sense to add an explicit comment for newbies like me ?
I can send a patch, if it is okay.
This is not the first time people sending a patch trying to remove this
"duplicated" code. I think it is okay to send a patch with comments to
say this is intended to handle nested vlan, so we can save everybody's
time. Thanks.