commit | 71854255820d1a479654bd2e98483129c588c118 | [log] [tgz] |
---|---|---|
author | Eran Ben Elisha <eranbe@nvidia.com> | Tue Jan 12 21:07:12 2021 +0200 |
committer | Jakub Kicinski <kuba@kernel.org> | Thu Jan 14 18:24:53 2021 -0800 |
tree | af915e48b68c266120974361f010052fa4f8bfc5 | |
parent | e3a7670737ecd7eb55b5c5e1900678e2a2e51ef9 [diff] |
net: vlan: Add parse protocol header ops Add parse protocol header ops for vlan device. Before this patch, vlan tagged packet transmitted by af_packet had skb->protocol unset. Some kernel methods (like __skb_flow_dissect()) rely on this missing information for its packet processing. Signed-off-by: Eran Ben Elisha <eranbe@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>