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:
Ravi kumar Veeramally 2020-03-03 15:46:31 +02:00 committed by Johan Hedberg
commit 491367115d

View file

@ -167,7 +167,7 @@ int net_ipv4_parse_hdr_options(struct net_pkt *pkt,
/* Options length should be zero, when cursor reachs to /* Options length should be zero, when cursor reachs to
* End of options. * End of options.
*/ */
if (opts_len) { if (total_opts_len) {
return -EINVAL; return -EINVAL;
} }