tun: add missing rcu annotation
authorJason Wang <jasowang@redhat.com>
Mon, 22 Jan 2018 02:55:38 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 14:16:18 +0000 (09:16 -0500)
commit9d6474e458b13a94a0d5b141f2b8f38adf1991ae
treefc06a8968b7fb49657ca8d0fc1f7a87243cd4d54
parentebdd7b491b8a65d65936e07004caabca4a3c94a0
tun: add missing rcu annotation

This patch fixes the following sparse warnings:

drivers/net/tun.c:2241:15: error: incompatible types in comparison expression (different address spaces)

Fixes: cd5681d7d890 ("tuntap: rename struct tun_steering_prog to struct tun_prog")
Cc: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c