Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95912
b: refs/heads/master
c: 4ac2ccd
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Lezcano authored and David S. Miller committed May 3, 2008
1 parent 11fa1ea commit c292c26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: aaf8cdc34ddba08122f02217d9d684e2f9f5d575
refs/heads/master: 4ac2ccd01646e08d7176185c94e5b19404a25998
4 changes: 3 additions & 1 deletion trunk/net/ipv6/reassembly.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ static void ip6_frag_expire(unsigned long data)
{
struct frag_queue *fq;
struct net_device *dev = NULL;
struct net *net;

fq = container_of((struct inet_frag_queue *)data, struct frag_queue, q);

Expand All @@ -207,7 +208,8 @@ static void ip6_frag_expire(unsigned long data)

fq_kill(fq);

dev = dev_get_by_index(&init_net, fq->iif);
net = container_of(fq->q.net, struct net, ipv6.frags);
dev = dev_get_by_index(net, fq->iif);
if (!dev)
goto out;

Expand Down

0 comments on commit c292c26

Please sign in to comment.