|
@@ -432,7 +432,12 @@ unsupported_flow:
|
|
ret = -EINVAL;
|
|
ret = -EINVAL;
|
|
}
|
|
}
|
|
|
|
|
|
- /* The buffer allocated here is freed by the i40e_clean_tx_ring() */
|
|
|
|
|
|
+ /* The buffer allocated here will be normally be freed by
|
|
|
|
+ * i40e_clean_fdir_tx_irq() as it reclaims resources after transmit
|
|
|
|
+ * completion. In the event of an error adding the buffer to the FDIR
|
|
|
|
+ * ring, it will immediately be freed. It may also be freed by
|
|
|
|
+ * i40e_clean_tx_ring() when closing the VSI.
|
|
|
|
+ */
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
|