mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-01-27 12:33:03 +00:00
[DECNET]: Fix build after netlink changes.
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
216efaaaa0
commit
63a1222b1f
@ -19,6 +19,7 @@
|
|||||||
#include <linux/netfilter.h>
|
#include <linux/netfilter.h>
|
||||||
#include <linux/spinlock.h>
|
#include <linux/spinlock.h>
|
||||||
#include <linux/netlink.h>
|
#include <linux/netlink.h>
|
||||||
|
#include <linux/netfilter_decnet.h>
|
||||||
|
|
||||||
#include <net/sock.h>
|
#include <net/sock.h>
|
||||||
#include <net/flow.h>
|
#include <net/flow.h>
|
||||||
@ -71,10 +72,10 @@ static void dnrmg_send_peer(struct sk_buff *skb)
|
|||||||
|
|
||||||
switch(flags & DN_RT_CNTL_MSK) {
|
switch(flags & DN_RT_CNTL_MSK) {
|
||||||
case DN_RT_PKT_L1RT:
|
case DN_RT_PKT_L1RT:
|
||||||
group = DNRMG_L1_NLGRP;
|
group = DNRNG_NLGRP_L1;
|
||||||
break;
|
break;
|
||||||
case DN_RT_PKT_L2RT:
|
case DN_RT_PKT_L2RT:
|
||||||
group = DNRMG_L2_NLGRP;
|
group = DNRNG_NLGRP_L2;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user