diff options
Diffstat (limited to 'net/core/pktgen.c')
-rw-r--r-- | net/core/pktgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index b7f2d65a614f..44de070b6045 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c | |||
@@ -1667,7 +1667,7 @@ static void pktgen_setup_inject(struct pktgen_dev *pkt_dev) | |||
1667 | struct in_device *in_dev; | 1667 | struct in_device *in_dev; |
1668 | 1668 | ||
1669 | rcu_read_lock(); | 1669 | rcu_read_lock(); |
1670 | in_dev = __in_dev_get(pkt_dev->odev); | 1670 | in_dev = __in_dev_get_rcu(pkt_dev->odev); |
1671 | if (in_dev) { | 1671 | if (in_dev) { |
1672 | if (in_dev->ifa_list) { | 1672 | if (in_dev->ifa_list) { |
1673 | pkt_dev->saddr_min = in_dev->ifa_list->ifa_address; | 1673 | pkt_dev->saddr_min = in_dev->ifa_list->ifa_address; |