Re: [PATCH net-next] net: ifdefy the wireless pointers in struct net_device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello.

On 16.05.22 23:56, Jakub Kicinski wrote:
Most protocol-specific pointers in struct net_device are under
a respective ifdef. Wireless is the notable exception. Since
there's a sizable number of custom-built kernels for datacenter
workloads which don't build wireless it seems reasonable to
ifdefy those pointers as well.

While at it move IPv4 and IPv6 pointers up, those are special
for obvious reasons.

Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
---
CC: johannes@xxxxxxxxxxxxxxxx
CC: alex.aring@xxxxxxxxx
CC: stefan@xxxxxxxxxxxxxxxxxx
CC: mareklindner@xxxxxxxxxxxxx
CC: sw@xxxxxxxxxxxxxxxxxx
CC: a@xxxxxxxxxxx
CC: sven@xxxxxxxxxxxxx
CC: linux-wireless@xxxxxxxxxxxxxxx
CC: linux-wpan@xxxxxxxxxxxxxxx
---
  include/linux/netdevice.h       | 8 ++++++--
  include/net/cfg80211.h          | 5 +----
  include/net/cfg802154.h         | 2 ++
  net/batman-adv/hard-interface.c | 2 ++
  net/wireless/core.c             | 6 ++++++
  5 files changed, 17 insertions(+), 6 deletions(-)

For the ieee802154 changes:

Acked-by: Stefan Schmidt <stefan@xxxxxxxxxxxxxxxxxx>

regards
Stefan Schmidt



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux