]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2225ea3a8d1d02151d1938f21b1aef30b9b79e1d
tree4f4fd5ae09f2f309e31bc80222519aec555dad81
parentc527aca70301af4477c1243359cc98058d4d4205
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