From: David S. Miller Date: Fri, 23 Jul 2021 13:20:46 +0000 (+0100) Subject: Merge branch 'net-remove-compat-alloc-user-space' X-Git-Tag: accepted/tizen/unified/20230118.172025~6527^2~409 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=090597b4a9c1b81b03fd7cfb4ba458a0e7a78b31;p=platform%2Fkernel%2Flinux-rpi.git 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 --- 090597b4a9c1b81b03fd7cfb4ba458a0e7a78b31