Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32679
b: refs/heads/master
c: 53602f9
h: refs/heads/master
i:
  32677: 4a9a6fc
  32675: fd3734d
  32671: bffff5b
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jul 14, 2006
1 parent b15ad0e commit df66419
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 27b437c8b7d519aac70a0254c2e04c29eff565a2
refs/heads/master: 53602f92dd3691616478a40738353694bcfef171
3 changes: 3 additions & 0 deletions trunk/net/ipv4/ip_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,9 @@ int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
goto drop;
}

/* Remove any debris in the socket control block */
memset(&(IPCB(skb)->opt), 0, sizeof(struct ip_options));

return NF_HOOK(PF_INET, NF_IP_PRE_ROUTING, skb, dev, NULL,
ip_rcv_finish);

Expand Down

0 comments on commit df66419

Please sign in to comment.