Commit 20bd1298 authored by Robert Olsson's avatar Robert Olsson Committed by David S. Miller

[PKTGEN]: Use __in_dev_put().

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5f0fdd24
......@@ -151,7 +151,7 @@
#include <asm/timex.h>
#define VERSION "pktgen v2.58: Packet Generator for packet performance testing.\n"
#define VERSION "pktgen v2.59: Packet Generator for packet performance testing.\n"
/* #define PG_DEBUG(a) a */
#define PG_DEBUG(a)
......@@ -1682,7 +1682,7 @@ 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);
__in_dev_put(in_dev);
}
rcu_read_unlock();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment