Re: [net-next PATCH v3 2/7] net: hsr: introduce common code for skb initialization

2020-07-20 Thread Murali Karicheri
On 7/17/20 9:56 PM, David Miller wrote: From: Murali Karicheri Date: Fri, 17 Jul 2020 11:15:06 -0400 +static void send_hsr_supervision_frame(struct hsr_port *master, + u8 type, u8 hsr_ver) +{ + struct sk_buff *skb; + struct hsr_tag *hsr_tag;

Re: [net-next PATCH v3 2/7] net: hsr: introduce common code for skb initialization

2020-07-17 Thread David Miller
From: Murali Karicheri Date: Fri, 17 Jul 2020 11:15:06 -0400 > +static void send_hsr_supervision_frame(struct hsr_port *master, > +u8 type, u8 hsr_ver) > +{ > + struct sk_buff *skb; > + struct hsr_tag *hsr_tag; > + struct hsr_sup_tag *hsr_stag; > +

[net-next PATCH v3 2/7] net: hsr: introduce common code for skb initialization

2020-07-17 Thread Murali Karicheri
As a preparatory patch to introduce PRP protocol support in the driver, refactor the skb init code to a separate function. Signed-off-by: Murali Karicheri --- net/hsr/hsr_device.c | 41 - 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/net/