freebsd-dev/sys
Hans Petter Selasky 44a1b2f07b Fix for referencing file via its vnode in ibore.
Use the native vnode lookup functions, instead of going via the LinuxKPI,
because the file referenced is typically created outside the LinuxKPI, and
the LinuxKPI's fdget() can only resolve file descriptor numbers which
were created by itself.

The vnode pointer is used as an identifier to identify XRCD handles which
are sharing resources.

This patch fixes the so-called XRCD support in ibcore for FreeBSD.
Refer to ibv_open_xrcd(3) for more information how the file descriptor
argument is used.

Reviewed by:	kib@
MFC after:	1 week
Sponsored by:	Mellanox Technologies // NVIDIA Networking
2020-11-02 10:44:29 +00:00
..
amd64 malloc: delegate M_EXEC handling to dedicacted routines 2020-10-30 20:02:32 +00:00
arm Simplify preload_dump() condition 2020-10-15 20:21:15 +00:00
arm64 Improve loading of multipage aligned buffers. 2020-11-02 08:26:19 +00:00
bsm
cam Add icc (Isochronous Command Completion) ccb_ataio field. 2020-11-02 01:01:41 +00:00
cddl Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
compat linux(4): Disambiguate identical ioctl errors in distinct paths 2020-11-02 06:16:11 +00:00
conf backlight(9): compile with COMPAT_LINUXKPI as well 2020-10-24 15:38:04 +00:00
contrib Fix 32-bit build after r367229. 2020-10-31 21:11:34 +00:00
crypto Add a new CCP device ID found on my Ryzen 5 3600XT. 2020-10-22 17:46:55 +00:00
ddb db_search_symbol: prevent pollution from bogus symbols 2020-10-26 16:42:53 +00:00
dev Add icc (Isochronous Command Completion) ccb_ataio field. 2020-11-02 01:01:41 +00:00
dts Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
fs tmpfs: change tmpfs dirent zone into a malloc type 2020-10-30 14:07:25 +00:00
gdb gdb(4): Don't escape GDB special characters at application layer 2020-09-30 14:55:54 +00:00
geom Remove frontstuff 2020-10-27 06:43:24 +00:00
gnu Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
i386 malloc: delegate M_EXEC handling to dedicacted routines 2020-10-30 20:02:32 +00:00
isa
kern Make sysctl user.local a tunable that can be written at run-time 2020-10-31 23:48:41 +00:00
kgssapi State kgssapi dependency on xdr. 2020-09-17 22:29:38 +00:00
libkern arc4random(9): Integrate with RANDOM_FENESTRASX push-reseed 2020-10-10 21:48:06 +00:00
mips Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
modules Factor out generic IP over infiniband, IPoIB, definitions and code 2020-10-22 09:09:53 +00:00
net net/if_media.c: improve IFMEDIA_DEBUG output. 2020-11-01 16:38:30 +00:00
net80211 net80211: factor out the priv(9) checks into OS specifc code. 2020-10-18 21:34:04 +00:00
netgraph ng_l2tp: Fix callout synchronization in the rexmit timeout handler 2020-09-25 18:55:50 +00:00
netinet Add m_snd_tag_alloc() as a wrapper around if_snd_tag_alloc(). 2020-10-29 23:28:39 +00:00
netinet6 Fix use-after-free in icmp6_notify_error(). 2020-10-28 20:22:20 +00:00
netipsec Trigger soft lifetime expiration on sequence number 2020-10-16 11:27:01 +00:00
netpfil Add dtrace SDT probe ipfw:::rule-matched. 2020-10-21 15:01:33 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed Fix for referencing file via its vnode in ibore. 2020-11-02 10:44:29 +00:00
opencrypto opencrypto: Annotate hmac_init_(i|o)pad() to make auth_hash const 2020-10-30 17:05:36 +00:00
powerpc Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
riscv Optimize set_syscall_retval for riscv by predicting the return 2020-10-29 15:36:20 +00:00
rpc Fix a potential memory leak in the NFS over TLS handling code. 2020-09-05 00:50:52 +00:00
security mac_framework.h: fix build with DEBUG_VFS_LOCKS and !MAC 2020-09-03 20:30:52 +00:00
sys Integrate 4.4BSD-Lite2 changes to IOC_* definitions 2020-10-30 22:00:35 +00:00
teken Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
tests Add small tool to invoke kernel test framework tests. 2020-09-02 09:20:40 +00:00
tools Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
ufs UFS2: Fix DoS due to corrupted extattrfile 2020-10-30 19:00:42 +00:00
vm Conditionally compile struct vm_phys_seg's md_first field. This field is 2020-10-23 06:24:38 +00:00
x86 Move the iommu stubs to a generic place, so they are available on all the 2020-10-23 21:27:48 +00:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen
Makefile