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;
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;
> +
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/