diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-10-03 17:36:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-10-03 17:36:32 -0400 |
commit | 3e56a40bb36f1f73b4eac2ffe267c5357811e321 (patch) | |
tree | cea32921e2273357aefbed7638d92d4580ca38c0 | |
parent | e5ed639913eea3e4783a550291775ab78dd84966 (diff) |
[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>
-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) | |||
1673 | pkt_dev->saddr_min = in_dev->ifa_list->ifa_address; | 1673 | pkt_dev->saddr_min = in_dev->ifa_list->ifa_address; |
1674 | pkt_dev->saddr_max = pkt_dev->saddr_min; | 1674 | pkt_dev->saddr_max = pkt_dev->saddr_min; |
1675 | } | 1675 | } |
1676 | __in_dev_put(in_dev); | ||
1677 | } | 1676 | } |
1678 | rcu_read_unlock(); | 1677 | rcu_read_unlock(); |
1679 | } | 1678 | } |