OSDN Git Service

ANDROID: GKI: networking: add Android ABI padding to a lot of networking structures
authorGreg Kroah-Hartman <gregkh@google.com>
Sat, 2 May 2020 07:32:22 +0000 (09:32 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Sun, 3 May 2020 06:45:31 +0000 (08:45 +0200)
commit8c588ef160f46019b1d8ec706b020afc9ad7ec4e
treeca38e6d2098153f6ae298ac13427662a44115ae1
parentf56c02e19d5504d02465453c96d014f1fe182b56
ANDROID: GKI: networking: add Android ABI padding to a lot of networking structures

Try to mitigate potential future driver core api changes by adding a
padding to a lot of different networking structures:
struct ipv6_devconf
struct proto_ops
struct header_ops
struct napi_struct
struct netdev_queue
struct netdev_rx_queue
struct xfrmdev_ops
struct net_device_ops
struct net_device
struct packet_type
struct sk_buff
struct tlsdev_ops

Based on a change made to the RHEL/CENTOS 8 kernel.

Bug: 151154716
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I590f004754dbc8beafa40e71cac70a0938c38b4a
include/linux/ipv6.h
include/linux/net.h
include/linux/netdevice.h
include/linux/skbuff.h