diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-10-03 23:36:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-10-03 23:36:32 +0200 |
commit | 3e56a40bb36f1f73b4eac2ffe267c5357811e321 (patch) | |
tree | cea32921e2273357aefbed7638d92d4580ca38c0 /net | |
parent | [IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl (diff) | |
download | linux-3e56a40bb36f1f73b4eac2ffe267c5357811e321.tar.xz linux-3e56a40bb36f1f73b4eac2ffe267c5357811e321.zip |
[IPV4]: Get rid of bogus __in_put_dev in pktgen
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/pktgen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 44de070b6045..5f043d346694 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -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(); } |