diff options
| author | Haiyang Zhang <[email protected]> | 2014-10-22 20:47:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-10-22 21:58:50 +0000 |
| commit | 942396b01989d54977120f3625e5ba31afe7a75c (patch) | |
| tree | ac54257c97a519c78793b5207bb61562bf4c8963 /drivers/net/xen-netback/interface.c | |
| parent | Merge branch 'amd-xgbe' (diff) | |
| download | kernel-942396b01989d54977120f3625e5ba31afe7a75c.tar.gz kernel-942396b01989d54977120f3625e5ba31afe7a75c.zip | |
hyperv: Fix the total_data_buflen in send path
total_data_buflen is used by netvsc_send() to decide if a packet can be put
into send buffer. It should also include the size of RNDIS message before the
Ethernet frame. Otherwise, a messge with total size bigger than send_section_size
may be copied into the send buffer, and cause data corruption.
[Request to include this patch to the Stable branches]
Signed-off-by: Haiyang Zhang <[email protected]>
Reviewed-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
