diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-10-03 14:36:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-10-03 14:36:32 -0700 |
commit | 3e56a40bb36f1f73b4eac2ffe267c5357811e321 (patch) | |
tree | cea32921e2273357aefbed7638d92d4580ca38c0 /net/core | |
parent | e5ed639913eea3e4783a550291775ab78dd84966 (diff) | |
download | linux-3.10-3e56a40bb36f1f73b4eac2ffe267c5357811e321.tar.gz linux-3.10-3e56a40bb36f1f73b4eac2ffe267c5357811e321.tar.bz2 linux-3.10-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/core')
-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 44de070b604..5f043d34669 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(); } |