]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sunvnet: Initialize network_header and transport_header in vnet_rx_one()
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Mon, 18 Jan 2016 21:12:09 +0000 (16:12 -0500)
committerAllen Pais <allen.pais@oracle.com>
Tue, 2 Feb 2016 16:25:09 +0000 (21:55 +0530)
commit978f6b46c363cf7b304d52a0c3dc9cdd6420aa93
treec4bdc204dc399159ee750efcd0a1425632bc5510
parent84266d9125af489357165eaf615d3fc1beffece0
sunvnet: Initialize network_header and transport_header in vnet_rx_one()

vnet_fullcsum() accesses ip_hdr() and transport header to compute
the checksum for IPv4 packets, so these need to be initialized in
skb created in vnet_rx_one().

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet.c