tuntap: switch to use rtnl_dereference()
authorJason Wang <jasowang@redhat.com>
Fri, 11 Jan 2013 16:59:32 +0000 (16:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Jan 2013 03:42:02 +0000 (19:42 -0800)
commitb8deabd3eebaa96cf8d6e290d67b03f36c7f7a41
treea571817b2de3d0f113458f60c64649069f344ddf
parentd07d7507bfb4e23735c9b83e397c43e1e8a173e8
tuntap: switch to use rtnl_dereference()

Switch to use rtnl_dereference() instead of the open code, suggested by Eric.

Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c