projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5ed639
)
[IPV4]: Get rid of bogus __in_put_dev in pktgen
author
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 3 Oct 2005 21:36:32 +0000
(14:36 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 3 Oct 2005 21:36:32 +0000
(14:36 -0700)
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>
net/core/pktgen.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/pktgen.c
b/net/core/pktgen.c
index 44de070b604510b1bdebe1684ba651f58d46eb02..5f043d346694dc012ba3403b82d875cd6a0133f1 100644
(file)
--- 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();
}