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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jan 2016 19:48:15 +0000 (14:48 -0500)
commit5f2f3cad8b878b23f17a11dd5af4f4a2cc41c797
treef8e40bdf525947c716de00fbf676fcbaf95e453b
parentb4ace4f1ae07691b4f6ea9f3e92efbec083df058
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