]> 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)
commitd38e7345c8bf89fa9cd193aada3ed8308ca10bb3
tree4f4fd5ae09f2f309e31bc80222519aec555dad81
parentfc94cb184495c272f8ac92d23960e59dbc200dc7
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