Thread (6 messages) flat view 6 messages, 2 authors, 2018-05-22

Re: [PATCH net-next v4 1/3] ipv4: support sport, dport and ip_proto in RTM_GETROUTE

From: Roopa Prabhu <hidden>
Date: 2018-05-22 15:45:50

On Tue, May 22, 2018 at 8:04 AM, Eric Dumazet [off-list ref] wrote:

On 05/22/2018 07:51 AM, Roopa Prabhu wrote:
quoted
From: Roopa Prabhu <redacted>
...
quoted
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c
index 4d622112..cf5cfc5 100644
--- a/net/ipv4/fib_frontend.c
+++ b/net/ipv4/fib_frontend.c
@@ -649,6 +649,10 @@ const struct nla_policy rtm_ipv4_policy[RTA_MAX + 1] = {
      [RTA_ENCAP]             = { .type = NLA_NESTED },
      [RTA_UID]               = { .type = NLA_U32 },
      [RTA_MARK]              = { .type = NLA_U32 },
+     [RTA_TABLE]             = { .type = NLA_U32 },
+     [RTA_IP_PROTO]          = { .type = NLA_U8 },
+     [RTA_SPORT]             = { .type = NLA_U16 },
+     [RTA_DPORT]             = { .type = NLA_U16 },
 };
Hi Roopa

RTA_TABLE addition looks like a bug fix for net tree ?

This should be sent as an independent patch IMO.

Thanks.
sure, I can do that. thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help