ip6tnl: less dev_put() calls
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 2 Nov 2009 10:21:37 +0000 (11:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Nov 2009 11:42:40 +0000 (03:42 -0800)
Using dev_get_by_index_rcu() in ip6_tnl_rcv_ctl() & ip6_tnl_xmit_ctl()
avoids touching device refcount.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found