[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>
This commit is contained in:
parent
e5ed639913
commit
3e56a40bb3
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user