diff options
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index cc08cc48e9e9..0aa4762f53f7 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -2218,7 +2218,7 @@ int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr* nlh, void *arg) | |||
2218 | /* Reserve room for dummy headers, this skb can pass | 2218 | /* Reserve room for dummy headers, this skb can pass |
2219 | through good chunk of routing engine. | 2219 | through good chunk of routing engine. |
2220 | */ | 2220 | */ |
2221 | skb->mac.raw = skb->data; | 2221 | skb_reset_mac_header(skb); |
2222 | skb_reserve(skb, MAX_HEADER + sizeof(struct ipv6hdr)); | 2222 | skb_reserve(skb, MAX_HEADER + sizeof(struct ipv6hdr)); |
2223 | 2223 | ||
2224 | rt = (struct rt6_info*) ip6_route_output(NULL, &fl); | 2224 | rt = (struct rt6_info*) ip6_route_output(NULL, &fl); |