summaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorRonak Doshi <doshir@vmware.com>2018-04-18 21:48:04 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-19 19:59:05 +0200
commit65ec0bd1c7c14522670a5294de35710fb577a7fd (patch)
treed2735aa7d11a3b1032bed6d1e0d7137e31bbc3de /.get_maintainer.ignore
parentllc: hold llc_sap before release_sock() (diff)
downloadlinux-65ec0bd1c7c14522670a5294de35710fb577a7fd.tar.xz
linux-65ec0bd1c7c14522670a5294de35710fb577a7fd.zip
vmxnet3: fix incorrect dereference when rxvlan is disabled
vmxnet3_get_hdr_len() is used to calculate the header length which in turn is used to calculate the gso_size for skb. When rxvlan offload is disabled, vlan tag is present in the header and the function references ip header from sizeof(ethhdr) and leads to incorrect pointer reference. This patch fixes this issue by taking sizeof(vlan_ethhdr) into account if vlan tag is present and correctly references the ip hdr. Signed-off-by: Ronak Doshi <doshir@vmware.com> Acked-by: Guolin Yang <gyang@vmware.com> Acked-by: Louis Luo <llouis@vmware.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions