Merge branch 'net-remove-compat-alloc-user-space'
Arnd Bergmann says: ==================== remove compat_alloc_user_space() This is the fifth version of my series, now spanning four patches instead of two, with a new approach for handling struct ifreq compatibility after I realized that my earlier approach introduces additional problems. The idea here is to always push down the compat conversion deeper into the call stack: rather than pretending to be native mode with a modified copy of the original data on the user space stack, have the code that actually works on the data understand the difference between native and compat versions. I have spent a long time looking at all drivers that implement an ndo_do_ioctl callback to verify that my assumptions are correct. This has led to a series of ~30 additional patches that I am not including here but will post separately, fixing a number of bugs in SIOCDEVPRIVATE ioctls, removing dead code, and splitting ndo_do_ioctl into multiple new ndo callbacks for private and ethernet specific commands. Arnd Link: https://lore.kernel.org/netdev/20201124151828.169152-1-arnd@kernel.org/ Changes in v6: - Split out and expand linux/compat.h rework - Split ifconf change into two patches - Rebase on latest net-next/master Changes in v5: - Rebase to v5.14-rc2 - Fix a few build issues Changes in v4: - build fix without CONFIG_INET - build fix without CONFIG_COMPAT - style fixes pointed out by hch Changes in v3: - complete rewrite of the series ==================== Signed-off-by:David S. Miller <davem@davemloft.net>
No related branches found
No related tags found
Showing
- arch/arm64/include/asm/compat.h 3 additions, 11 deletionsarch/arm64/include/asm/compat.h
- arch/mips/include/asm/compat.h 11 additions, 13 deletionsarch/mips/include/asm/compat.h
- arch/parisc/include/asm/compat.h 3 additions, 11 deletionsarch/parisc/include/asm/compat.h
- arch/powerpc/include/asm/compat.h 0 additions, 11 deletionsarch/powerpc/include/asm/compat.h
- arch/s390/include/asm/compat.h 3 additions, 11 deletionsarch/s390/include/asm/compat.h
- arch/sparc/include/asm/compat.h 3 additions, 11 deletionsarch/sparc/include/asm/compat.h
- arch/x86/include/asm/compat.h 3 additions, 11 deletionsarch/x86/include/asm/compat.h
- arch/x86/include/asm/signal.h 1 addition, 0 deletionsarch/x86/include/asm/signal.h
- include/asm-generic/compat.h 17 additions, 0 deletionsinclude/asm-generic/compat.h
- include/linux/compat.h 15 additions, 17 deletionsinclude/linux/compat.h
- include/linux/ethtool.h 0 additions, 4 deletionsinclude/linux/ethtool.h
- include/linux/inetdevice.h 9 additions, 0 deletionsinclude/linux/inetdevice.h
- include/linux/netdevice.h 3 additions, 9 deletionsinclude/linux/netdevice.h
- net/appletalk/ddp.c 2 additions, 2 deletionsnet/appletalk/ddp.c
- net/core/dev_ioctl.c 86 additions, 67 deletionsnet/core/dev_ioctl.c
- net/ethtool/ioctl.c 120 additions, 16 deletionsnet/ethtool/ioctl.c
- net/ieee802154/socket.c 2 additions, 2 deletionsnet/ieee802154/socket.c
- net/ipv4/af_inet.c 3 additions, 3 deletionsnet/ipv4/af_inet.c
- net/ipv4/devinet.c 1 addition, 3 deletionsnet/ipv4/devinet.c
- net/qrtr/qrtr.c 2 additions, 2 deletionsnet/qrtr/qrtr.c
Loading
Please register or sign in to comment