[DECNET]: Covert rules to use generic code
This patch converts the DECnet rules code to use the generic rules system created by Thomas Graf <tgraf@suug.ch>. Signed-off-by: Steven Whitehouse <steve@chygwyn.com> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8f491069b4
commit
a8731cbf61
@@ -80,6 +80,7 @@
|
||||
#include <net/neighbour.h>
|
||||
#include <net/dst.h>
|
||||
#include <net/flow.h>
|
||||
#include <net/fib_rules.h>
|
||||
#include <net/dn.h>
|
||||
#include <net/dn_dev.h>
|
||||
#include <net/dn_nsp.h>
|
||||
@@ -1284,7 +1285,7 @@ static int dn_route_input_slow(struct sk_buff *skb)
|
||||
dev_hold(out_dev);
|
||||
|
||||
if (res.r)
|
||||
src_map = dn_fib_rules_policy(fl.fld_src, &res, &flags);
|
||||
src_map = fl.fld_src; /* no NAT support for now */
|
||||
|
||||
gateway = DN_FIB_RES_GW(res);
|
||||
if (res.type == RTN_NAT) {
|
||||
|
Reference in New Issue
Block a user