Skip to content

: Un-crapify compat handling.

David Miller linux-wireless netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 of 12 patches 12 repliesIn review

8 of 12 patches are in this archive. The cover letter announces 12.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12: Remove inline from get_priv_size() and adjust_priv_size().net/wireless/wext.c+2 -30 replies
2/12: Make adjust_priv_size() take a "struct iw_point *".net/wireless/wext.c+3 -30 replies
4/12: Extract private call iw_point handling into seperate functions.net/wireless/wext.c+74 -670 replies
5/12: Pull ioctl permission checking out into helper function.net/wireless/wext.c+15 -70 replies
7/12: Pass iwreq pointer down into standard/private handlers.net/wireless/wext.c+8 -90 replies
8/12: Pull top-level ioctl dispatch logic into helper function.net/wireless/wext.c+20 -62 replies
10/12: Remove compat handling from fs/compat_ioctl.cfs/compat_ioctl.c+1 -1060 replies
12/12: Emit event stream compat iw_point objects correctly.drivers/net/wireless/airo.c drivers/net/wireless/atmel.c drivers/net/wireless/hostap/hostap.h +13 more+136 -7510 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [WEXT 0/12]: Un-crapify compat handling.

This set of 12 patches pulls all of the existing compat handling for WEXT ioctls out of fs/compat_ioctl.c and allows implementations down in the driver layers to handle compat issues properly when necessary.

In particular it fixes the bug where iw_point objects were not being size translated properly in scan streams and similar.

Currently I've only made sure this compiles properly. I'm half-way done with a dummy wireless driver that can be used purely to validate WEXT ioctl handling correctness in the core wireless layers.