Message ID | 20220109134040.1945428-6-mkl@pengutronix.de |
---|---|
State | Accepted |
Commit | 89d58aebe14a365c25ba6645414afdbf4e41cea4 |
Headers | show |
Series | [net,1/5] can: softing_cs: softingcs_probe(): fix memleak on registration failure | expand |
diff --git a/drivers/net/can/usb/gs_usb.c b/drivers/net/can/usb/gs_usb.c index d7ce2c5956f4..4d43aca2ff56 100644 --- a/drivers/net/can/usb/gs_usb.c +++ b/drivers/net/can/usb/gs_usb.c @@ -508,6 +508,8 @@ static netdev_tx_t gs_can_start_xmit(struct sk_buff *skb, hf->echo_id = idx; hf->channel = dev->channel; + hf->flags = 0; + hf->reserved = 0; cf = (struct can_frame *)skb->data;