Skip to content

Commit

Permalink
dpif-netdev: Modify code comments for function parse_tcp_flags.
Browse files Browse the repository at this point in the history
Fixes: e7e9973 ("dpif-netdev: Forwarding optimization for flows with a simple match")

Signed-off-by: Allen Chen <[email protected]>
Reviewed-by: Adrian Moreno <[email protected]>
Signed-off-by: Aaron Conole <[email protected]>
  • Loading branch information
Allen Chen authored and apconole committed Jan 15, 2025
1 parent c3f4d9f commit 8670936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ parse_dl_type(const void **datap, size_t *sizep, ovs_be16 *first_vlan_tci_p)
* If 'packet' is not an Ethernet packet embedding TCP, returns 0.
* 'dl_type_p' will be set only if the 'packet' is an Ethernet packet.
* 'nw_frag_p' will be set only if the 'packet' is an IP packet.
* 'first_vlan_tci' will be set only if the 'packet' contains vlan header.
* 'first_vlan_tci_p' will be set only if the 'packet' contains vlan header.
*
* The caller must ensure that 'packet' is at least ETH_HEADER_LEN bytes
* long.'*/
Expand Down

0 comments on commit 8670936

Please sign in to comment.