net: ipv6: remove skb_reserve in getroute
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 26 Jan 2017 22:08:36 +0000 (14:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jan 2017 23:36:58 +0000 (18:36 -0500)
commit3b7b2b0acdbf9ffe4d3a7915e59e6127988b05db
tree4f4fd5ae09f2f309e31bc80222519aec555dad81
parentb95db6687f9ecc1705e2de0be216ab78439dbbf3
net: ipv6: remove skb_reserve in getroute

Remove skb_reserve and skb_reset_mac_header from inet6_rtm_getroute. The
allocated skb is not passed through the routing engine (like it is for
IPv4) and has not since the beginning of git time.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c