Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351517
b: refs/heads/master
c: 5135e63
h: refs/heads/master
i:
  351515: 5c85edf
v: v3
  • Loading branch information
YOSHIFUJI Hideaki / 吉藤英明 authored and David S. Miller committed Jan 21, 2013
1 parent 1d05eea commit a0316bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 527a150fb2292a59ca0545dace8d482581253532
refs/heads/master: 5135e633f92ab4deb3600a30cbbec6e0929fc8a4
3 changes: 1 addition & 2 deletions trunk/net/ipv6/ndisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ static struct sk_buff *ndisc_alloc_skb(struct net_device *dev,
skb->dev = dev;

skb_reserve(skb, hlen + sizeof(struct ipv6hdr));
skb_reset_transport_header(skb);

return skb;
}
Expand Down Expand Up @@ -438,7 +439,6 @@ static struct sk_buff *ndisc_build_skb(struct net_device *dev,
if (!skb)
return NULL;

skb->transport_header = skb->tail;
skb_put(skb, len);

hdr = (struct icmp6hdr *)skb_transport_header(skb);
Expand Down Expand Up @@ -1479,7 +1479,6 @@ void ndisc_send_redirect(struct sk_buff *skb, const struct in6_addr *target)
if (!buff)
goto release;

skb_set_transport_header(buff, skb_tail_pointer(buff) - buff->data);
skb_put(buff, len);
msg = (struct rd_msg *)icmp6_hdr(buff);

Expand Down

0 comments on commit a0316bb

Please sign in to comment.