{"push_id":2763028450,"size":71,"distinct_size":71,"ref":"refs/heads/master","head":"bb05a30e079c3e83c377a1a8d9873b6dfc67ce3f","before":"3273080d6f25bd5c9db1c72cc0e8b8138f19a87a","commits":[{"sha":"d6990976af7c5d8f55903bfb4289b6fb030bf754","author":{"name":"Eyal Birger","email":"795a5dda0defe3b6cf4023da30695907d9e4cdcf@gmail.com"},"message":"vti6: fix PMTU caching and reporting on xmit\n\nWhen setting the skb->dst before doing the MTU check, the route PMTU\ncaching and reporting is done on the new dst which is about to be\nreleased.\n\nInstead, PMTU handling should be done using the original dst.\n\nThis is aligned with IPv4 VTI.\n\nFixes: ccd740cbc6 (\"vti6: Add pmtu handling to vti6_xmit.\")\nSigned-off-by: Eyal Birger <eyal.birger@gmail.com>\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/d6990976af7c5d8f55903bfb4289b6fb030bf754"},{"sha":"45c180bc29babbedd6b8c01b975780ef44d9d09c","author":{"name":"Eric Dumazet","email":"312c7d941f03386814be517ffdb3e0eb6624e275@google.com"},"message":"xfrm_user: prevent leaking 2 bytes of kernel memory\n\nstruct xfrm_userpolicy_type has two holes, so we should not\nuse C99 style initializer.\n\nKMSAN report:\n\nBUG: KMSAN: kernel-infoleak in copyout lib/iov_iter.c:140 [inline]\nBUG: KMSAN: kernel-infoleak in _copy_to_iter+0x1b14/0x2800 lib/iov_iter.c:571\nCPU: 1 PID: 4520 Comm: syz-executor841 Not tainted 4.17.0+ #5\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011\nCall Trace:\n __dump_stack lib/dump_stack.c:77 [inline]\n dump_stack+0x185/0x1d0 lib/dump_stack.c:113\n kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:1117\n kmsan_internal_check_memory+0x138/0x1f0 mm/kmsan/kmsan.c:1211\n kmsan_copy_to_user+0x7a/0x160 mm/kmsan/kmsan.c:1253\n copyout lib/iov_iter.c:140 [inline]\n _copy_to_iter+0x1b14/0x2800 lib/iov_iter.c:571\n copy_to_iter include/linux/uio.h:106 [inline]\n skb_copy_datagram_iter+0x422/0xfa0 net/core/datagram.c:431\n skb_copy_datagram_msg include/linux/skbuff.h:3268 [inline]\n netlink_recvmsg+0x6f1/0x1900 net/netlink/af_netlink.c:1959\n sock_recvmsg_nosec net/socket.c:802 [inline]\n sock_recvmsg+0x1d6/0x230 net/socket.c:809\n ___sys_recvmsg+0x3fe/0x810 net/socket.c:2279\n __sys_recvmmsg+0x58e/0xe30 net/socket.c:2391\n do_sys_recvmmsg+0x2a6/0x3e0 net/socket.c:2472\n __do_sys_recvmmsg net/socket.c:2485 [inline]\n __se_sys_recvmmsg net/socket.c:2481 [inline]\n __x64_sys_recvmmsg+0x15d/0x1c0 net/socket.c:2481\n do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287\n entry_SYSCALL_64_after_hwframe+0x44/0xa9\nRIP: 0033:0x446ce9\nRSP: 002b:00007fc307918db8 EFLAGS: 00000293 ORIG_RAX: 000000000000012b\nRAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000446ce9\nRDX: 000000000000000a RSI: 0000000020005040 RDI: 0000000000000003\nRBP: 00000000006dbc20 R08: 0000000020004e40 R09: 0000000000000000\nR10: 0000000040000000 R11: 0000000000000293 R12: 0000000000000000\nR13: 00007ffc8d2df32f R14: 00007fc3079199c0 R15: 0000000000000001\n\nUninit was stored to memory at:\n kmsan_save_stack_with_flags mm/kmsan/kmsan.c:279 [inline]\n kmsan_save_stack mm/kmsan/kmsan.c:294 [inline]\n kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:685\n kmsan_memcpy_origins+0x11d/0x170 mm/kmsan/kmsan.c:527\n __msan_memcpy+0x109/0x160 mm/kmsan/kmsan_instr.c:413\n __nla_put lib/nlattr.c:569 [inline]\n nla_put+0x276/0x340 lib/nlattr.c:627\n copy_to_user_policy_type net/xfrm/xfrm_user.c:1678 [inline]\n dump_one_policy+0xbe1/0x1090 net/xfrm/xfrm_user.c:1708\n xfrm_policy_walk+0x45a/0xd00 net/xfrm/xfrm_policy.c:1013\n xfrm_dump_policy+0x1c0/0x2a0 net/xfrm/xfrm_user.c:1749\n netlink_dump+0x9b5/0x1550 net/netlink/af_netlink.c:2226\n __netlink_dump_start+0x1131/0x1270 net/netlink/af_netlink.c:2323\n netlink_dump_start include/linux/netlink.h:214 [inline]\n xfrm_user_rcv_msg+0x8a3/0x9b0 net/xfrm/xfrm_user.c:2577\n netlink_rcv_skb+0x37e/0x600 net/netlink/af_netlink.c:2448\n xfrm_netlink_rcv+0xb2/0xf0 net/xfrm/xfrm_user.c:2598\n netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline]\n netlink_unicast+0x1680/0x1750 net/netlink/af_netlink.c:1336\n netlink_sendmsg+0x104f/0x1350 net/netlink/af_netlink.c:1901\n sock_sendmsg_nosec net/socket.c:629 [inline]\n sock_sendmsg net/socket.c:639 [inline]\n ___sys_sendmsg+0xec8/0x1320 net/socket.c:2117\n __sys_sendmsg net/socket.c:2155 [inline]\n __do_sys_sendmsg net/socket.c:2164 [inline]\n __se_sys_sendmsg net/socket.c:2162 [inline]\n __x64_sys_sendmsg+0x331/0x460 net/socket.c:2162\n do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287\n entry_SYSCALL_64_after_hwframe+0x44/0xa9\nLocal variable description: ----upt.i@dump_one_policy\nVariable was created at:\n dump_one_policy+0x78/0x1090 net/xfrm/xfrm_user.c:1689\n xfrm_policy_walk+0x45a/0xd00 net/xfrm/xfrm_policy.c:1013\n\nByte 130 of 137 is uninitialized\nMemory access starts at ffff88019550407f\n\nFixes: c0144beaeca42 (\"[XFRM] netlink: Use nla_put()/NLA_PUT() variantes\")\nSigned-off-by: Eric Dumazet <edumazet@google.com>\nReported-by: syzbot <syzkaller@googlegroups.com>\nCc: Steffen Klassert <steffen.klassert@secunet.com>\nCc: Herbert Xu <herbert@gondor.apana.org.au>\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/45c180bc29babbedd6b8c01b975780ef44d9d09c"},{"sha":"8cc88773855f988d6a3bbf102bbd9dd9c828eb81","author":{"name":"Tommi Rantala","email":"c755d75da996119e2b4da9802b6e31e9cdd8d509@nokia.com"},"message":"xfrm: fix missing dst_release() after policy blocking lbcast and multicast\n\nFix missing dst_release() when local broadcast or multicast traffic is\nxfrm policy blocked.\n\nFor IPv4 this results to dst leak: ip_route_output_flow() allocates\ndst_entry via __ip_route_output_key() and passes it to\nxfrm_lookup_route(). xfrm_lookup returns ERR_PTR(-EPERM) that is\npropagated. The dst that was allocated is never released.\n\nIPv4 local broadcast testcase:\n ping -b 192.168.1.255 &\n sleep 1\n ip xfrm policy add src 0.0.0.0/0 dst 192.168.1.255/32 dir out action block\n\nIPv4 multicast testcase:\n ping 224.0.0.1 &\n sleep 1\n ip xfrm policy add src 0.0.0.0/0 dst 224.0.0.1/32 dir out action block\n\nFor IPv6 the missing dst_release() causes trouble e.g. when used in netns:\n ip netns add TEST\n ip netns exec TEST ip link set lo up\n ip link add dummy0 type dummy\n ip link set dev dummy0 netns TEST\n ip netns exec TEST ip addr add fd00::1111 dev dummy0\n ip netns exec TEST ip link set dummy0 up\n ip netns exec TEST ping -6 -c 5 ff02::1%dummy0 &\n sleep 1\n ip netns exec TEST ip xfrm policy add src ::/0 dst ff02::1 dir out action block\n wait\n ip netns del TEST\n\nAfter netns deletion we see:\n[  258.239097] unregister_netdevice: waiting for lo to become free. Usage count = 2\n[  268.279061] unregister_netdevice: waiting for lo to become free. Usage count = 2\n[  278.367018] unregister_netdevice: waiting for lo to become free. Usage count = 2\n[  288.375259] unregister_netdevice: waiting for lo to become free. Usage count = 2\n\nFixes: ac37e2515c1a (\"xfrm: release dst_orig in case of error in xfrm_lookup()\")\nSigned-off-by: Tommi Rantala <tommi.t.rantala@nokia.com>\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/8cc88773855f988d6a3bbf102bbd9dd9c828eb81"},{"sha":"86126b77dcd551ce223e7293bb55854e3df05646","author":{"name":"Florian Westphal","email":"cef439e78636cdab99cd2923826c5065a0743e5b@strlen.de"},"message":"xfrm: free skb if nlsk pointer is NULL\n\nnlmsg_multicast() always frees the skb, so in case we cannot call\nit we must do that ourselves.\n\nFixes: 21ee543edc0dea (\"xfrm: fix race between netns cleanup and state expire notification\")\nSigned-off-by: Florian Westphal <fw@strlen.de>\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/86126b77dcd551ce223e7293bb55854e3df05646"},{"sha":"7284fdf39a912322ce97de2d30def3c6068a418c","author":{"name":"Zhen Lei","email":"cd675cf4665dbe3c83ba981d9a123be40328cd5e@huawei.com"},"message":"esp6: fix memleak on error path in esp6_input\n\nThis ought to be an omission in e6194923237 (\"esp: Fix memleaks on error\npaths.\"). The memleak on error path in esp6_input is similar to esp_input\nof esp4.\n\nFixes: e6194923237 (\"esp: Fix memleaks on error paths.\")\nFixes: 3f29770723f (\"ipsec: check return value of skb_to_sgvec always\")\nSigned-off-by: Zhen Lei <thunder.leizhen@huawei.com>\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/7284fdf39a912322ce97de2d30def3c6068a418c"},{"sha":"1b350ea0c2f4df9aa30426614c8eb755a8c32814","author":{"name":"Varun Prakash","email":"da8eeead6ac54aa6b13c398dae2cdaba6c6029fe@chelsio.com"},"message":"scsi: target: iscsi: cxgbit: fix max iso npdu calculation\n\n- rounddown CXGBIT_MAX_ISO_PAYLOAD by csk->emss before calculating\n  max_iso_npdu to get max TCP payload in multiple of mss.\n\n- call cxgbit_set_digest() before cxgbit_set_iso_npdu() to set\n  csk->submode, it is used in calculating number of iso pdus.\n\nSigned-off-by: Varun Prakash <varun@chelsio.com>\nReviewed-by: Mike Christie <mchristi@redhat.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/1b350ea0c2f4df9aa30426614c8eb755a8c32814"},{"sha":"a17037e7d59075053b522048742a08ac9500bde8","author":{"name":"Varun Prakash","email":"da8eeead6ac54aa6b13c398dae2cdaba6c6029fe@chelsio.com"},"message":"scsi: libiscsi: fix possible NULL pointer dereference in case of TMF\n\nIn iscsi_check_tmf_restrictions() task->hdr is dereferenced to print the\nopcode, it is possible that task->hdr is NULL.\n\nThere are two cases based on opcode argument:\n\n1. ISCSI_OP_SCSI_CMD - In this case alloc_pdu() is called\nafter iscsi_check_tmf_restrictions()\n\niscsi_prep_scsi_cmd_pdu() -> iscsi_check_tmf_restrictions() -> alloc_pdu().\n\nTransport drivers allocate memory for iSCSI hdr in alloc_pdu() and assign\nit to task->hdr. In case of TMF task->hdr will be NULL resulting in NULL\npointer dereference.\n\n2. ISCSI_OP_SCSI_DATA_OUT - In this case transport driver can free the\nmemory for iSCSI hdr after transmitting the pdu so task->hdr can be NULL or\ninvalid.\n\nThis patch fixes this issue by removing task->hdr->opcode from the printk\nstatement.\n\nSigned-off-by: Varun Prakash <varun@chelsio.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/a17037e7d59075053b522048742a08ac9500bde8"},{"sha":"c170e5a8d222537e98aa8d4fddb667ff7a2ee114","author":{"name":"Tony Battersby","email":"628d250d3f69f0c4ee54390536c2ff69fa614e72@cybernetics.com"},"message":"scsi: sg: fix minor memory leak in error path\n\nFix a minor memory leak when there is an error opening a /dev/sg device.\n\nFixes: cc833acbee9d (\"sg: O_EXCL and other lock handling\")\nCc: <stable@vger.kernel.org>\nReviewed-by: Ewan D. Milne <emilne@redhat.com>\nSigned-off-by: Tony Battersby <tonyb@cybernetics.com>\nReviewed-by: Bart Van Assche <bart.vanassche@wdc.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/c170e5a8d222537e98aa8d4fddb667ff7a2ee114"},{"sha":"8e4a4189ce02fe53b6f3ffcc1ac5a3a9967f2611","author":{"name":"Tony Battersby","email":"628d250d3f69f0c4ee54390536c2ff69fa614e72@cybernetics.com"},"message":"scsi: sg: update comment for blk_get_request()\n\nThe calling convention of blk_get_request() has changed in lk 4.18; update\nthe comment in sg.c to match.\n\nFixes: ff005a066240 (\"block: sanitize blk_get_request calling conventions\")\nSigned-off-by: Tony Battersby <tonyb@cybernetics.com>\nAcked-by: Douglas Gilbert <dgilbert@interlog.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/8e4a4189ce02fe53b6f3ffcc1ac5a3a9967f2611"},{"sha":"e3dde080ebbdbb4bda8eee35d770714fee8c59ac","author":{"name":"Quinn Tran","email":"a02f5c47ee09ecfb205631316fdc727ed52eb140@cavium.com"},"message":"scsi: qla2xxx: Fix unintialized List head crash\n\nIn case of IOCB Queue full or system where memory is low and driver\nreceives large number of RSCN storm, the stale sp pointer can stay on\ngpnid_list resulting in page_fault.\n\nThis patch fixes this issue by initializing the sp->elem list head and\nremoving sp->elem before memory is freed.\n\nFollowing stack trace is seen\n\n 9 [ffff987b37d1bc60] page_fault at ffffffffad516768 [exception RIP: qla24xx_async_gpnid+496]\n10 [ffff987b37d1bd10] qla24xx_async_gpnid at ffffffffc039866d [qla2xxx]\n11 [ffff987b37d1bd80] qla2x00_do_work at ffffffffc036169c [qla2xxx]\n12 [ffff987b37d1be38] qla2x00_do_dpc_all_vps at ffffffffc03adfed [qla2xxx]\n13 [ffff987b37d1be78] qla2x00_do_dpc at ffffffffc036458a [qla2xxx]\n14 [ffff987b37d1bec8] kthread at ffffffffacebae31\n\nFixes: 2d73ac6102d9 (\"scsi: qla2xxx: Serialize GPNID for multiple RSCN\")\nCc: <stable@vger.kernel.org> # v4.17+\nSigned-off-by: Quinn Tran <quinn.tran@cavium.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/e3dde080ebbdbb4bda8eee35d770714fee8c59ac"},{"sha":"efa93f48fa9d423fda166bc3b6c0cbb09682492e","author":{"name":"Quinn Tran","email":"a02f5c47ee09ecfb205631316fdc727ed52eb140@cavium.com"},"message":"scsi: qla2xxx: Fix NPIV deletion by calling wait_for_sess_deletion\n\nAdd wait for session deletion to finish before freeing an NPIV scsi host.\n\nFixes: 726b85487067 (\"qla2xxx: Add framework for async fabric discovery\")\nCc: <stable@vger.kernel.org>\nSigned-off-by: Quinn Tran <quinn.tran@cavium.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/efa93f48fa9d423fda166bc3b6c0cbb09682492e"},{"sha":"45235022da9925b2b070c0139629233173e50089","author":{"name":"Quinn Tran","email":"a02f5c47ee09ecfb205631316fdc727ed52eb140@cavium.com"},"message":"scsi: qla2xxx: Fix driver unload by shutting down chip\n\nUse chip shutdown at the start of unload to stop all DMA + traffic and\nbring down the laser. This prevents any link activities from triggering the\ndriver to be re-engaged.\n\nFixes: 4b60c82736d0 (\"scsi: qla2xxx: Add fw_started flags to qpair\")\nCc: <stable@vger.kernel.org> #4.16\nSigned-off-by: Quinn Tran <quinn.tran@cavium.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/45235022da9925b2b070c0139629233173e50089"},{"sha":"b08abbd9f5996309f021684f9ca74da30dcca36a","author":{"name":"Quinn Tran","email":"a02f5c47ee09ecfb205631316fdc727ed52eb140@cavium.com"},"message":"scsi: qla2xxx: Fix ISP recovery on unload\n\nDuring unload process, the chip can encounter problem where a FW dump would\nbe captured. For this case, the full reset sequence will be skip to bring\nthe chip back to full operational state.\n\nFixes: e315cd28b9ef (\"[SCSI] qla2xxx: Code changes for qla data structure refactoring\")\nCc: <stable@vger.kernel.org>\nSigned-off-by: Quinn Tran <quinn.tran@cavium.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/b08abbd9f5996309f021684f9ca74da30dcca36a"},{"sha":"b4146c4929ef61d5afca011474d59d0918a0cd82","author":{"name":"Anil Gurumurthy","email":"8232ec98ab8c1cce5a65c8f10bee6666d72e75d0@cavium.com"},"message":"scsi: qla2xxx: Return error when TMF returns\n\nPropagate the task management completion status properly to avoid\nunnecessary waits for commands to complete.\n\nFixes: faef62d13463 (\"[SCSI] qla2xxx: Fix Task Management command asynchronous handling\")\nCc: <stable@vger.kernel.org>\nSigned-off-by: Anil Gurumurthy <anil.gurumurthy@cavium.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/b4146c4929ef61d5afca011474d59d0918a0cd82"},{"sha":"6283fa38dc8744dc7c2bd2a03bb0478fe42f79fa","author":{"name":"Martin KaFai Lau","email":"2c0d8efbe28c4f7a45c3ab30c984ed2c126716bd@fb.com"},"message":"bpf: btf: Ensure the member->offset is in the right order\n\nThis patch ensures the member->offset of a struct\nis in the correct order (i.e the later member's offset cannot\ngo backward).\n\nThe current \"pahole -J\" BTF encoder does not generate something\nlike this.  However, checking this can ensure future encoder\nwill not violate this.\n\nFixes: 69b693f0aefa (\"bpf: btf: Introduce BPF Type Format (BTF)\")\nSigned-off-by: Martin KaFai Lau <kafai@fb.com>\nAcked-by: Yonghong Song <yhs@fb.com>\nSigned-off-by: Daniel Borkmann <daniel@iogearbox.net>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/6283fa38dc8744dc7c2bd2a03bb0478fe42f79fa"},{"sha":"64bb568488671048d25d7b3ada058bb6c7cb1d5d","author":{"name":"Martin KaFai Lau","email":"2c0d8efbe28c4f7a45c3ab30c984ed2c126716bd@fb.com"},"message":"bpf: btf: Sync uapi btf.h to tools\n\nThis patch sync the uapi btf.h to tools/\n\nFixes: 36fc3c8c282c bpf: btf: Clean up BTF_INT_BITS() in uapi btf.h\nSigned-off-by: Martin KaFai Lau <kafai@fb.com>\nAcked-by: Yonghong Song <yhs@fb.com>\nSigned-off-by: Daniel Borkmann <daniel@iogearbox.net>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/64bb568488671048d25d7b3ada058bb6c7cb1d5d"},{"sha":"5b891af7fca14526b2a87c6f38b004e2df655ef4","author":{"name":"Martin KaFai Lau","email":"2c0d8efbe28c4f7a45c3ab30c984ed2c126716bd@fb.com"},"message":"bpf: Replace [u]int32_t and [u]int64_t in libbpf\n\nThis patch replaces [u]int32_t and [u]int64_t usage with\n__[su]32 and __[su]64.  The same change goes for [u]int16_t\nand [u]int8_t.\n\nFixes: 8a138aed4a80 (\"bpf: btf: Add BTF support to libbpf\")\nSigned-off-by: Martin KaFai Lau <kafai@fb.com>\nAcked-by: Yonghong Song <yhs@fb.com>\nSigned-off-by: Daniel Borkmann <daniel@iogearbox.net>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/5b891af7fca14526b2a87c6f38b004e2df655ef4"},{"sha":"38d5d3b3d5dbc0e0bb51fa6f7559d0d5a27916f6","author":{"name":"Martin KaFai Lau","email":"2c0d8efbe28c4f7a45c3ab30c984ed2c126716bd@fb.com"},"message":"bpf: Introduce BPF_ANNOTATE_KV_PAIR\n\nThis patch introduces BPF_ANNOTATE_KV_PAIR to signal the\nbpf loader about the btf key_type and value_type of a bpf map.\nPlease refer to the changes in test_btf_haskv.c for its usage.\nBoth iproute2 and libbpf loader will then have the same\nconvention to find out the map's btf_key_type_id and\nbtf_value_type_id from a map's name.\n\nFixes: 8a138aed4a80 (\"bpf: btf: Add BTF support to libbpf\")\nSuggested-by: Daniel Borkmann <daniel@iogearbox.net>\nSigned-off-by: Martin KaFai Lau <kafai@fb.com>\nAcked-by: Yonghong Song <yhs@fb.com>\nSigned-off-by: Daniel Borkmann <daniel@iogearbox.net>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/38d5d3b3d5dbc0e0bb51fa6f7559d0d5a27916f6"},{"sha":"684cce1c31d2c0c9383cbcca200b9cf3b1f1d21d","author":{"name":"Daniel Borkmann","email":"3d0f3b9ddcacec30c4008c5e030e6c13a478cb4f@iogearbox.net"},"message":"Merge branch 'bpf-annotate-kv-pair'\n\nMartin KaFai Lau says:\n\n====================\nThe series allows the BPF loader to figure out the btf_key_id\nand btf_value_id from a map's name by using BPF_ANNOTATE_KV_PAIR()\nsimilarly as in iproute2 commit f823f36012fb (\"bpf: implement\nbtf handling and map annotation\").\n\nIt also removes the old 'typedef' way which requires two separate\ntypedefs (one for the key and one for the value).\n\nBy doing this, iproute2 and libbpf have one consistent way to\nfigure out the btf_key_type_id and btf_value_type_id for a map.\n\nThe first two patches are some prep/cleanup works. The last patch\nintroduces BPF_ANNOTATE_KV_PAIR.\n\nv3:\n- Replace some more *int*_t and u* usages with the\n  equivalent __[su]* in btf.c\n\nv2:\n- Fix the incorrect '&&' check on container_type\n  in bpf_map_find_btf_info().\n- Expose the existing static btf_type_by_id() instead of\n  creating a new one.\n====================\n\nSigned-off-by: Daniel Borkmann <daniel@iogearbox.net>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/684cce1c31d2c0c9383cbcca200b9cf3b1f1d21d"},{"sha":"ecbc42ca5d665e9238a4cdb595024d2e6cf87f2d","author":{"name":"Toshiaki Makita","email":"4ba010dc37de3a0b3ddffe053cf94f200b4ff575@lab.ntt.co.jp"},"message":"virtio_net: Fix incosistent received bytes counter\n\nWhen received packets are dropped in virtio_net driver, received packets\ncounter is incremented but bytes counter is not.\nAs a result, for instance if we drop all packets by XDP, only received\nis counted and bytes stays 0, which looks inconsistent.\nIMHO received packets/bytes should be counted if packets are produced by\nthe hypervisor, like what common NICs on physical machines are doing.\nSo fix the bytes counter.\n\nSigned-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>\nSigned-off-by: David S. Miller <davem@davemloft.net>","distinct":true,"url":"https://api.github.com/repos/GulajavaMinistudio/linux/commits/ecbc42ca5d665e9238a4cdb595024d2e6cf87f2d"}]}
{"actor":{"display_login":"GulajavaMinistudio"}}