Merge pull request #863 from ecsv/batadv-2022.1
batman-adv: Fix build with kernel 5.15.38
This commit is contained in:
commit
50e02d4cff
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ static inline void batadv_eth_hw_addr_set(struct net_device *dev,
|
||||||
|
|
||||||
#if LINUX_VERSION_IS_LESS(5, 18, 0)
|
#if LINUX_VERSION_IS_LESS(5, 18, 0)
|
||||||
|
|
||||||
|
#include <linux/netdevice.h>
|
||||||
|
|
||||||
static inline int batadv_netif_rx(struct sk_buff *skb)
|
static inline int batadv_netif_rx(struct sk_buff *skb)
|
||||||
{
|
{
|
||||||
if (in_interrupt())
|
if (in_interrupt())
|
||||||
|
|
Loading…
Reference in a new issue