index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
net
/
tun.c
Age
Commit message (
Expand
)
Author
Files
Lines
7 days
Merge tag 'for-6.10/io_uring-20240511' of git://git.kernel.dk/linux
Linus Torvalds
1
-1
/
+1
2024-04-22
net: extend ubuf_info callback to ops structure
Pavel Begunkov
1
-1
/
+1
2024-04-16
tun: limit printing rate when illegal packet received by tun dev
Lei Chen
1
-8
/
+10
2024-03-07
net: introduce include/net/rps.h
Eric Dumazet
1
-0
/
+1
2024-03-05
net: tap: Remove generic .ndo_get_stats64
Breno Leitao
1
-1
/
+0
2024-03-05
net: tuntap: Leverage core stats allocator
Breno Leitao
1
-9
/
+2
2024-02-29
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Jakub Kicinski
1
-0
/
+1
2024-02-23
tun: Fix xdp_rxq_info's queue_index when detaching
Yunjian Wang
1
-0
/
+1
2024-02-13
xdp: rely on skb pointer reference in do_xdp_generic and netif_receive_generi...
Lorenzo Bianconi
1
-2
/
+2
2024-02-04
tun: Implement ethtool's get_channels() callback
Yunjian Wang
1
-0
/
+10
2024-01-30
net/tun: use reciprocal_scale
Stephen Hemminger
1
-4
/
+3
2024-01-22
tun: add missing rx stats accounting in tun_xdp_act
Yunjian Wang
1
-0
/
+2
2024-01-22
tun: fix missing dropped counter in tun_xdp_act
Yunjian Wang
1
-2
/
+6
2023-10-17
tun: prevent negative ifindex
Eric Dumazet
1
-2
/
+5
2023-08-17
tun: add __exit annotations to module exit func tun_cleanup()
Ziyang Xuan
1
-1
/
+1
2023-08-10
tun: avoid high-order page allocation for packet header
Tahsin Erdogan
1
-1
/
+4
2023-08-10
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Jakub Kicinski
1
-1
/
+1
2023-08-07
drivers: net: prevent tun_build_skb() to exceed the packet size limit
Andrew Kanner
1
-1
/
+1
2023-08-03
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Jakub Kicinski
1
-1
/
+1
2023-08-02
net: tun: change tun_alloc_skb() to allow bigger paged allocations
Eric Dumazet
1
-1
/
+3
2023-08-02
net: tun_chr_open(): set sk_uid from current_fsuid()
Laszlo Ersek
1
-1
/
+1
2023-05-17
tun: Fix memory leak for detached NAPI queue.
Kuniyuki Iwashima
1
-0
/
+15
2023-04-26
Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/net...
Linus Torvalds
1
-0
/
+2
2023-03-30
iov_iter: add iter_iovec() helper
Jens Axboe
1
-1
/
+2
2023-03-10
tun: flag the device as supporting FMODE_NOWAIT
Jens Axboe
1
-0
/
+2
2023-02-10
Daniel Borkmann says:
Jakub Kicinski
1
-0
/
+5
2023-02-06
tun: tun_chr_open(): correctly initialize socket uid
Pietro Borrello
1
-1
/
+1
2023-02-02
drivers: net: turn on XDP features
Marek Majtyka
1
-0
/
+5
2022-12-12
driver/net/tun: Added features for USO.
Andrew Melnychenko
1
-1
/
+7
2022-11-29
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Jakub Kicinski
1
-1
/
+3
2022-11-29
net: tun: Fix use-after-free in tun_detach()
Shigeru Yoshida
1
-1
/
+3
2022-11-14
net: tun: rebuild error handling in tun_get_user
Chuang Wang
1
-36
/
+29
2022-11-10
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Jakub Kicinski
1
-5
/
+13
2022-11-08
net: tun: call napi_schedule_prep() to ensure we own a napi
Eric Dumazet
1
-6
/
+13
2022-11-04
net: tun: Fix memory leaks of napi_get_frags
Wang Yufen
1
-0
/
+1
2022-11-03
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Jakub Kicinski
1
-1
/
+2
2022-11-03
net: tun: bump the link speed from 10Mbps to 10Gbps
Ilya Maximets
1
-1
/
+1
2022-10-31
net: tun: fix bugs for oversize packet when napi frags enabled
Ziyang Xuan
1
-1
/
+2
2022-09-30
net: tun: Convert to use sysfs_emit() APIs
Wang Yufen
1
-7
/
+7
2022-09-29
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Jakub Kicinski
1
-3
/
+6
2022-09-23
tun: support not enabling carrier in TUNSETIFF
Patrick Rohr
1
-3
/
+6
2022-08-31
net: move from strlcpy with unused retval to strscpy
Wolfram Sang
1
-4
/
+4
2022-06-30
net: tun: avoid disabling NAPI twice
Jakub Kicinski
1
-1
/
+2
2022-06-27
net: tun: stop NAPI when detaching queues
Jakub Kicinski
1
-1
/
+10
2022-06-24
net: tun: unlink NAPI from device on destruction
Jakub Kicinski
1
-0
/
+1
2022-05-05
net: switch to netif_napi_add_tx()
Jakub Kicinski
1
-2
/
+1
2022-04-14
tun: annotate access to queue->trans_start
Antoine Tenart
1
-1
/
+1
2022-03-11
net: add per-cpu storage and net->core_stats
Eric Dumazet
1
-8
/
+8
2022-03-07
tun: vxlan: Use netif_rx().
Sebastian Andrzej Siewior
1
-1
/
+1
2022-03-06
net: tun: track dropped skb via kfree_skb_reason()
Dongli Zhang
1
-9
/
+28
2022-03-06
net: tun: split run_ebpf_filter() and pskb_trim() into different "if statement"
Dongli Zhang
1
-1
/
+4
2022-03-02
tuntap: add sanity checks about msg_controllen in sendmsg
Harold Huang
1
-1
/
+2
2022-03-01
tun: support NAPI for packets received from batched XDP buffs
Harold Huang
1
-13
/
+30
2021-12-31
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
David S. Miller
1
-1
/
+1
2021-12-17
tun: avoid double free in tun_free_netdev
George Kennedy
1
-56
/
+59
2021-12-13
bpf: Let bpf_warn_invalid_xdp_action() report more info
Paolo Abeni
1
-1
/
+1
2021-11-15
tun: fix bonding active backup with arp monitoring
Nicolas Dichtel
1
-0
/
+5
2021-08-24
ethtool: extend coalesce setting uAPI with CQE mode
Yufeng Mo
1
-2
/
+6
2021-05-19
tun: use DEVICE_ATTR_RO macro
YueHaibing
1
-8
/
+8
2021-04-28
net: tun: Remove redundant assignment to ret
Yang Li
1
-1
/
+0
2021-04-09
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Jakub Kicinski
1
-0
/
+48
2021-04-06
net: tun: set tun->dev->addr_len during TUNSETLINK processing
Phillip Potter
1
-0
/
+48
2021-03-18
bpf, devmap: Move drop error path to devmap for XDP_REDIRECT
Lorenzo Bianconi
1
-6
/
+9
2021-02-11
net: fix dev_ifsioc_locked() race condition
Cong Wang
1
-3
/
+2
2021-01-19
net: tun: fix misspellings using codespell tool
Menglong Dong
1
-1
/
+1
2021-01-08
net, xdp: Introduce xdp_prepare_buff utility routine
Lorenzo Bianconi
1
-4
/
+1
2021-01-08
net, xdp: Introduce xdp_init_buff utility routine
Lorenzo Bianconi
1
-4
/
+3
2021-01-07
tap/tun: add skb_zcopy_init() helper for initialization.
Jonathan Lemon
1
-2
/
+1
2021-01-07
net: group skb_shinfo zerocopy related bits together.
Jonathan Lemon
1
-2
/
+1
2021-01-07
skbuff: Add skb parameter to the ubuf zerocopy callback
Jonathan Lemon
1
-1
/
+1
2020-12-28
tun: fix return value when the number of iovs exceeds MAX_SKB_FRAGS
Yunjian Wang
1
-1
/
+1
2020-12-04
Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
Jakub Kicinski
1
-1
/
+1
2020-12-01
xsk: Propagate napi_id to XDP socket Rx path
Björn Töpel
1
-1
/
+1
2020-11-27
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Jakub Kicinski
1
-3
/
+11
2020-11-23
net/tun: Call type change netdev notifiers
Martin Schiller
1
-1
/
+10
2020-11-21
tun: honor IOCB_NOWAIT flag
Jens Axboe
1
-3
/
+11
2020-11-09
tun: switch to net core provided statistics counters
Heiner Kallweit
1
-87
/
+34
2020-09-04
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Jakub Kicinski
1
-3
/
+3
2020-08-23
treewide: Use fallthrough pseudo-keyword
Gustavo A. R. Silva
1
-3
/
+3
2020-08-19
net-tun: Eliminate two tun/xdp related function calls from vhost-net
Maciej Żenczykowski
1
-18
/
+0
2020-08-19
net-tun: Add type safety to tun_xdp_to_ptr() and tun_ptr_to_xdp()
Maciej Żenczykowski
1
-3
/
+3
2020-08-03
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
David S. Miller
1
-15
/
+0
2020-07-31
tun: add missing rcu annotation in tun_set_ebpf()
Jason Wang
1
-1
/
+1
2020-07-25
bpf, xdp: Remove XDP_QUERY_PROG and XDP_QUERY_PROG_HW XDP commands
Andrii Nakryiko
1
-15
/
+0
2020-06-30
tun: implement header_ops->parse_protocol for AF_PACKET
Jason A. Donenfeld
1
-0
/
+2
2020-06-01
xdp: Rename convert_to_xdp_frame in xdp_convert_buff_to_frame
Lorenzo Bianconi
1
-1
/
+1
2020-06-01
tun: correct header offsets in napi frags mode
Willem de Bruijn
1
-4
/
+10
2020-05-14
tun: Add XDP frame size
Jesper Dangaard Brouer
1
-0
/
+2
2020-04-12
net: tun: record RX queue in skb before do_xdp_generic()
Gilberto Bertin
1
-1
/
+2
2020-04-06
tun: Don't put_page() for all negative return values from XDP program
Will Deacon
1
-4
/
+6
2020-03-06
tun: reject unsupported coalescing params
Jakub Kicinski
1
-0
/
+1
2020-03-05
tun: drop TUN_DEBUG and tun_debug()
Michal Kubecek
1
-17
/
+0
2020-03-05
tun: replace tun_debug() by netif_info()
Michal Kubecek
1
-33
/
+27
2020-03-05
tun: drop useless debugging statements
Michal Kubecek
1
-13
/
+0
2020-03-05
tun: get rid of DBG1() macro
Michal Kubecek
1
-14
/
+0
2020-03-05
tun: fix misleading comment format
Michal Kubecek
1
-2
/
+1
2020-02-23
tun: Remove unnecessary BUG_ON check in tun_net_xmit
David Ahern
1
-2
/
+0
2020-01-26
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
David S. Miller
1
-0
/
+4
2020-01-23
tun: add mutex_unlock() call and napi.skb clearing in tun_get_user()
Eric Dumazet
1
-0
/
+4
2020-01-16
xdp: Use bulking for non-map XDP_REDIRECT and consolidate code paths
Toke Høiland-Jørgensen
1
-2
/
+2
2019-11-15
tun: fix data-race in gro_normal_list()
Petar Penkov
1
-2
/
+2
2019-11-07
tun: switch to u64_stats_t
Eric Dumazet
1
-16
/
+16
2019-10-20
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
David S. Miller
1
-2
/
+2
2019-10-09
tun: remove possible false sharing in tun_flow_update()
Eric Dumazet
1
-2
/
+2
2019-10-08
Revert "tun: call dev_get_valid_name() before register_netdevice()"
Eric Dumazet
1
-3
/
+0
2019-10-08
tun: fix memory leak in error path
Eric Dumazet
1
-2
/
+12
2019-10-01
netfilter: drop bridge nf reset from nf_reset
Florian Westphal
1
-1
/
+1
2019-09-12
tun: fix use-after-free when register netdev failed
Yang Yingliang
1
-5
/
+11
2019-07-25
tun: mark small packets as owned by the tap sock
Alexis Bauvin
1
-3
/
+6
2019-07-08
coallocate socket_wq with socket itself
Al Viro
1
-5
/
+3
2019-06-18
tun: wake up waitqueues after IFF_UP is set
Fei Li
1
-10
/
+9
2019-05-30
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157
Thomas Gleixner
1
-10
/
+1
2019-05-09
tuntap: synchronize through tfiles array instead of tun->numqueues
Jason Wang
1
-1
/
+6
2019-05-09
tuntap: fix dividing by zero in ebpf queue selection
Jason Wang
1
-1
/
+6
2019-04-23
net: pass net_device argument to the eth_get_headlen
Stanislav Fomichev
1
-1
/
+2
2019-03-23
net: convert rps_needed and rfs_needed to new static branch api
Eric Dumazet
1
-1
/
+1
2019-03-21
tun: Remove unused first parameter of tun_get_iff()
Kirill Tkhai
1
-4
/
+3
2019-03-21
tun: Add ioctl() TUNGETDEVNETNS cmd to allow obtaining real net ns of tun device
Kirill Tkhai
1
-0
/
+8
2019-03-20
net: remove 'fallback' argument from dev->ndo_select_queue()
Paolo Abeni
1
-2
/
+1
2019-03-16
tun: add a missing rcu_read_unlock() in error path
Eric Dumazet
1
-0
/
+1
2019-03-15
tun: properly test for IFF_UP
Eric Dumazet
1
-4
/
+11
2019-03-02
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-2
/
+2
2019-02-25
tun: remove unnecessary memory barrier
Timur Celik
1
-1
/
+1
2019-02-24
tun: fix blocking read
Timur Celik
1
-2
/
+2
2019-02-22
net: Don't set transport offset to invalid value
Maxim Mikityanskiy
1
-2
/
+2
2019-01-30
tun: move the call to tun_set_real_num_queues
George Amanakis
1
-2
/
+1
2019-01-10
tun: publish tfile after it's fully initialized
Stanislav Fomichev
1
-4
/
+7
2018-12-14
tun: replace get_cpu_ptr with this_cpu_ptr when bh disabled
Prashant Bhole
1
-2
/
+4
2018-12-13
net: dev: Add extack argument to dev_set_mac_address()
Petr Machata
1
-1
/
+1
2018-12-09
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-4
/
+5
2018-12-06
tun: remove unnecessary check in tun_flow_update
Li RongQing
1
-4
/
+1
2018-12-06
tun: align write-heavy flow entry members to a cache line
Li RongQing
1
-3
/
+5
2018-12-03
tun: remove skb access after netif_receive_skb
Prashant Bhole
1
-1
/
+2
2018-11-30
tun: forbid iface creation with rtnl ops
Nicolas Dichtel
1
-3
/
+3
2018-11-30
tun: implement carrier change
Nicolas Dichtel
1
-1
/
+26
2018-11-19
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-1
/
+6
2018-11-18
tuntap: fix multiqueue rx
Matthew Cover
1
-1
/
+6
2018-11-18
tun: use netdev_alloc_frag() in tun_napi_alloc_frags()
Eric Dumazet
1
-8
/
+7
2018-11-17
tun: Adjust on-stack tun_page initialization.
David S. Miller
1
-1
/
+3
2018-11-17
tuntap: free XDP dropped packets in a batch
Jason Wang
1
-3
/
+26
2018-11-07
tun: compute the RFS hash only if needed.
Paolo Abeni
1
-1
/
+2
2018-10-15
tun: Consistently configure generic netdev params via rtnetlink
Serhey Popovych
1
-0
/
+2
2018-10-10
net: tun: remove useless codes of tun_automq_select_queue
Wang Li
1
-22
/
+13
2018-10-03
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-16
/
+21
2018-10-01
tun: napi flags belong to tfile
Eric Dumazet
1
-9
/
+14
2018-10-01
tun: initialize napi_mutex unconditionally
Eric Dumazet
1
-1
/
+1
2018-10-01
tun: remove unused parameters
Eric Dumazet
1
-6
/
+6
2018-09-25
Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-43
/
+0
2018-09-23
tun: remove ndo_poll_controller
Eric Dumazet
1
-43
/
+0
2018-09-13
tuntap: accept an array of XDP buffs through sendmsg()
Jason Wang
1
-3
/
+114
2018-09-13
tun: switch to new type of msg_control
Jason Wang
1
-1
/
+5
2018-09-13
tuntap: move XDP flushing out of tun_do_xdp()
Jason Wang
1
-1
/
+2
2018-09-13
tuntap: split out XDP logic
Jason Wang
1
-37
/
+51
2018-09-13
tuntap: tweak on the path of skb XDP case in tun_build_skb()
Jason Wang
1
-15
/
+24
2018-09-13
tuntap: simplify error handling in tun_build_skb()
Jason Wang
1
-7
/
+3
2018-09-13
tuntap: enable bh early during processing XDP
Jason Wang
1
-7
/
+3
2018-09-13
tuntap: switch to use XDP_PACKET_HEADROOM
Jason Wang
1
-2
/
+1
2018-09-13
net: sock: introduce SOCK_XDP
Jason Wang
1
-0
/
+19
2018-08-21
Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-1
/
+1
2018-08-04
tun: not use hardcoded mask value
Li RongQing
1
-1
/
+2
2018-07-21
signal: Use PIDTYPE_TGID to clearly store where file signals will be sent
Eric W. Biederman
1
-1
/
+1
2018-07-20
Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux
David S. Miller
1
-1
/
+1
2018-07-16
tun: Fix use-after-free on XDP_TX
Toshiaki Makita
1
-1
/
+1
2018-07-14
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
David S. Miller
1
-1
/
+0
2018-07-13
xdp: don't make drivers report attachment mode
Jakub Kicinski
1
-1
/
+0
2018-07-09
net: allow ndo_select_queue to pass netdev
Alexander Duyck
1
-1
/
+2
2018-06-07
net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlan
Willem de Bruijn
1
-1
/
+2
2018-06-05
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
David S. Miller
1
-27
/
+17
2018-06-05
tun: remove ndo_xdp_flush call tun_xdp_flush
Jesper Dangaard Brouer
1
-22
/
+1
2018-06-04
Allow ethtool to change tun link settings
Chas Williams
1
-2
/
+25
2018-06-03
tun: implement flush flag for ndo_xdp_xmit
Jesper Dangaard Brouer
1
-6
/
+13
2018-06-03
xdp: add flags argument to ndo_xdp_xmit API
Jesper Dangaard Brouer
1
-2
/
+6
2018-06-03
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-6
/
+9
2018-05-29
tun: Fix NULL pointer dereference in XDP redirect
Toshiaki Makita
1
-6
/
+9
2018-05-26
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-4
/
+15
2018-05-24
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
David S. Miller
1
-13
/
+24
2018-05-24
xdp: change ndo_xdp_xmit API to support bulking
Jesper Dangaard Brouer
1
-13
/
+24
2018-05-23
tuntap: correctly set SOCKWQ_ASYNC_NOSPACE
Jason Wang
1
-4
/
+15
2018-05-21
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-15
/
+12
2018-05-16
tuntap: fix use after free during release
Jason Wang
1
-1
/
+1
2018-05-14
tun: fix use after free for ptr_ring
Jason Wang
1
-15
/
+12
2018-05-10
tun: Do SIOCGSKNS out of rtnl_lock()
Kirill Tkhai
1
-11
/
+7
2018-04-21
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-6
/
+1
2018-04-21
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
David S. Miller
1
-1
/
+2
2018-04-20
tun: do not compute the rxhash, if not needed
Paolo Abeni
1
-9
/
+6
2018-04-18
bpf: make tun compatible w/ bpf_xdp_adjust_tail
Nikita V. Shirokov
1
-1
/
+2
2018-04-18
tun: fix vlan packet truncation
Bjørn Mork
1
-6
/
+1
2018-04-17
xdp: transition into using xdp_frame for ndo_xdp_xmit
Jesper Dangaard Brouer
1
-7
/
+12
2018-04-17
xdp: transition into using xdp_frame for return API
Jesper Dangaard Brouer
1
-2
/
+2
2018-04-17
xdp: rhashtable with allocator ID to pointer mapping
Jesper Dangaard Brouer
1
-0
/
+6
2018-04-17
tun: convert to use generic xdp_frame and xdp_return_frame API
Jesper Dangaard Brouer
1
-23
/
+20
2018-04-11
tun: send netlink notification when the device is modified
Sabrina Dubroca
1
-2
/
+22
2018-04-11
tun: set the flags before registering the netdevice
Sabrina Dubroca
1
-3
/
+6
2018-03-23
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-1
/
+2
2018-03-14
tuntap: XDP_TX can use native XDP
Jason Wang
1
-11
/
+8
2018-03-09
vhost_net: examine pointer types during un-producing
Jason Wang
1
-1
/
+2
2018-03-06
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
David S. Miller
1
-15
/
+7
2018-02-26
tuntap: correctly add the missing XDP flush
Jason Wang
1
-0
/
+1
2018-02-26
tuntap: disable preemption during XDP processing
Jason Wang
1
-0
/
+6
2018-02-26
Revert "tuntap: add missing xdp flush"
Jason Wang
1
-15
/
+0
[next]