Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332912
b: refs/heads/master
c: e1f1650
h: refs/heads/master
v: v3
  • Loading branch information
ramesh.nagappa@gmail.com authored and David S. Miller committed Oct 7, 2012
1 parent bbb8257 commit c2ccf72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 0bd8ba18b9384e1c9104eee1d912fd5c8b4234c0
refs/heads/master: e1f165032c8bade3a6bdf546f8faf61fda4dd01c
6 changes: 2 additions & 4 deletions trunk/net/core/neighbour.c
Original file line number Diff line number Diff line change
Expand Up @@ -1301,8 +1301,6 @@ int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb)
if (!dst)
goto discard;

__skb_pull(skb, skb_network_offset(skb));

if (!neigh_event_send(neigh, skb)) {
int err;
struct net_device *dev = neigh->dev;
Expand All @@ -1312,6 +1310,7 @@ int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb)
neigh_hh_init(neigh, dst);

do {
__skb_pull(skb, skb_network_offset(skb));
seq = read_seqbegin(&neigh->ha_lock);
err = dev_hard_header(skb, dev, ntohs(skb->protocol),
neigh->ha, NULL, skb->len);
Expand Down Expand Up @@ -1342,9 +1341,8 @@ int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb)
unsigned int seq;
int err;

__skb_pull(skb, skb_network_offset(skb));

do {
__skb_pull(skb, skb_network_offset(skb));
seq = read_seqbegin(&neigh->ha_lock);
err = dev_hard_header(skb, dev, ntohs(skb->protocol),
neigh->ha, NULL, skb->len);
Expand Down

0 comments on commit c2ccf72

Please sign in to comment.