Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Trivial conflict in CAN, keep the net-next + the byteswap wrapper. Conflicts: drivers/net/can/usb/gs_usb.c Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -3163,6 +3163,11 @@ static inline bool dev_validate_header(const struct net_device *dev,
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool dev_has_header(const struct net_device *dev)
|
||||
{
|
||||
return dev->header_ops && dev->header_ops->create;
|
||||
}
|
||||
|
||||
typedef int gifconf_func_t(struct net_device * dev, char __user * bufptr,
|
||||
int len, int size);
|
||||
int register_gifconf(unsigned int family, gifconf_func_t *gifconf);
|
||||
|
||||
Reference in New Issue
Block a user