From: Herbert Xu Date: Mon, 3 Oct 2005 21:36:32 +0000 (-0700) Subject: [IPV4]: Get rid of bogus __in_put_dev in pktgen X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e56a40bb36f1f73b4eac2ffe267c5357811e321;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: David S. Miller --- 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(); }