Commit 5771401
net/sched: act_pedit: remove extra check for key type
The netlink parsing already validates the key 'htype'.
Remove the datapath check as it's redundant.
Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent e1201bc commit 5771401
1 file changed
Lines changed: 7 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
329 | | - | |
| 328 | + | |
| 329 | + | |
330 | 330 | | |
331 | | - | |
332 | | - | |
| 331 | + | |
333 | 332 | | |
334 | 333 | | |
335 | | - | |
| 334 | + | |
336 | 335 | | |
337 | | - | |
338 | | - | |
339 | 336 | | |
340 | 337 | | |
341 | 338 | | |
342 | 339 | | |
343 | 340 | | |
344 | | - | |
345 | 341 | | |
346 | 342 | | |
347 | 343 | | |
348 | | - | |
| 344 | + | |
349 | 345 | | |
350 | | - | |
351 | | - | |
352 | 346 | | |
353 | 347 | | |
354 | | - | |
355 | 348 | | |
356 | 349 | | |
357 | | - | |
358 | | - | |
359 | 350 | | |
360 | 351 | | |
361 | 352 | | |
| |||
388 | 379 | | |
389 | 380 | | |
390 | 381 | | |
| 382 | + | |
391 | 383 | | |
392 | | - | |
393 | 384 | | |
394 | | - | |
395 | 385 | | |
396 | 386 | | |
397 | 387 | | |
| |||
400 | 390 | | |
401 | 391 | | |
402 | 392 | | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
| 393 | + | |
409 | 394 | | |
410 | 395 | | |
411 | 396 | | |
| |||
0 commit comments