Thread (18 messages) 18 messages, 4 authors, 2012-11-01

Re: [PATCH net-next 1/8] bridge: bridge port parameters over netlink

From: Tommy S. Christensen <hidden>
Date: 2012-10-30 18:48:56

On 10/30/2012 01:57 AM, Stephen Hemminger wrote:
-/*
- * Change state of port (ie from forwarding to blocking etc)
+static const struct nla_policy ifla_brport_policy[IFLA_BRPORT_MAX + 1] = {
+	[IFLA_BRPORT_STATE]	= { .type = NLA_U8 },
+	[IFLA_BRPORT_COST]	= { .type = NLA_U16 },
+	[IFLA_BRPORT_PRIORITY]	= { .type = NLA_U32 },
+	[IFLA_BRPORT_MODE]	= { .type = NLA_U8 },
+};
+
Hey Stephen

It seems you've swapped the sizes of COST and PRIORITY in this part.

-Tommy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help