Commit 3872baf6 authored by Rami Rosen's avatar Rami Rosen Committed by David S. Miller

tun: put correct method name in a debug message.

This patch puts the correct method name, tun_do_read, in a debug message.
Signed-off-by: default avatarRami Rosen <ramirose@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 36fe8c09
...@@ -1296,7 +1296,7 @@ static ssize_t tun_do_read(struct tun_struct *tun, struct tun_file *tfile, ...@@ -1296,7 +1296,7 @@ static ssize_t tun_do_read(struct tun_struct *tun, struct tun_file *tfile,
struct sk_buff *skb; struct sk_buff *skb;
ssize_t ret = 0; ssize_t ret = 0;
tun_debug(KERN_INFO, tun, "tun_chr_read\n"); tun_debug(KERN_INFO, tun, "tun_do_read\n");
if (unlikely(!noblock)) if (unlikely(!noblock))
add_wait_queue(&tfile->wq.wait, &wait); add_wait_queue(&tfile->wq.wait, &wait);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment