net: ipv4: Fix compilation errors
opts_len renamed to total_opts_len in previous changes. But it's not replaced at one place. Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
This commit is contained in:
parent
0cc209d5b2
commit
491367115d
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ int net_ipv4_parse_hdr_options(struct net_pkt *pkt,
|
|||
/* Options length should be zero, when cursor reachs to
|
||||
* End of options.
|
||||
*/
|
||||
if (opts_len) {
|
||||
if (total_opts_len) {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue