diff options
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index baeafa004463..a1ba262f40ad 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -656,7 +656,7 @@ static struct tun_struct *tun_enable_queue(struct tun_file *tfile) | |||
656 | return tun; | 656 | return tun; |
657 | } | 657 | } |
658 | 658 | ||
659 | static void tun_ptr_free(void *ptr) | 659 | void tun_ptr_free(void *ptr) |
660 | { | 660 | { |
661 | if (!ptr) | 661 | if (!ptr) |
662 | return; | 662 | return; |
@@ -668,6 +668,7 @@ static void tun_ptr_free(void *ptr) | |||
668 | __skb_array_destroy_skb(ptr); | 668 | __skb_array_destroy_skb(ptr); |
669 | } | 669 | } |
670 | } | 670 | } |
671 | EXPORT_SYMBOL_GPL(tun_ptr_free); | ||
671 | 672 | ||
672 | static void tun_queue_purge(struct tun_file *tfile) | 673 | static void tun_queue_purge(struct tun_file *tfile) |
673 | { | 674 | { |