Re: [PATCH net-next 03/14] sctp: remove the typedef sctp_scope_policy_t

2017-08-07 Thread Xin Long
On Mon, Aug 7, 2017 at 9:28 PM, David Laight wrote: > From: Xin Long >> Sent: 05 August 2017 13:00 >> This patch is to remove the typedef sctp_scope_policy_t and keep >> it's members as an anonymous enum. >> >> It is also to define SCTP_SCOPE_POLICY_MAX to replace the num

RE: [PATCH net-next 03/14] sctp: remove the typedef sctp_scope_policy_t

2017-08-07 Thread David Laight
From: Xin Long > Sent: 05 August 2017 13:00 > This patch is to remove the typedef sctp_scope_policy_t and keep > it's members as an anonymous enum. > > It is also to define SCTP_SCOPE_POLICY_MAX to replace the num 3 > in sysctl.c to make codes clear. > > Signed-off-by: Xin Long

[PATCH net-next 03/14] sctp: remove the typedef sctp_scope_policy_t

2017-08-05 Thread Xin Long
This patch is to remove the typedef sctp_scope_policy_t and keep it's members as an anonymous enum. It is also to define SCTP_SCOPE_POLICY_MAX to replace the num 3 in sysctl.c to make codes clear. Signed-off-by: Xin Long --- include/net/sctp/constants.h | 6 --