Skip to content

Commit

Permalink
[IPV4]: Get rid of bogus __in_put_dev in pktgen
Browse files Browse the repository at this point in the history
This patch gets rid of a bogus __in_dev_put() in pktgen.c.  This was
spotted by Suzanne Wood.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Herbert Xu authored and David S. Miller committed Oct 3, 2005
1 parent e5ed639 commit 3e56a40
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/core/pktgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -1673,7 +1673,6 @@ static void pktgen_setup_inject(struct pktgen_dev *pkt_dev)
pkt_dev->saddr_min = in_dev->ifa_list->ifa_address;
pkt_dev->saddr_max = pkt_dev->saddr_min;
}
__in_dev_put(in_dev);
}
rcu_read_unlock();
}
Expand Down

0 comments on commit 3e56a40

Please sign in to comment.