OSDN Git Service

Merge branch 'net-use-strict-checks-in-doit-handlers'
authorDavid S. Miller <davem@davemloft.net>
Sat, 19 Jan 2019 18:09:59 +0000 (10:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jan 2019 18:09:59 +0000 (10:09 -0800)
commite266afa9c7afc51deaaf1e1566a8dfbc6f632b07
tree706b013a6ff1715d81bd3054721a8ecdaf9aa16d
parent133bbb18ab1a2f5549435c5a3126413344ddbcb8
parent0c4056ee8433487cfcc19621b85586c88ec927c0
Merge branch 'net-use-strict-checks-in-doit-handlers'

Jakub Kicinski says:

====================
net: use strict checks in doit handlers

This series extends strict argument checking to doit handlers
of the GET* nature.  This is a bit tricky since strict checking
flag has already been released..

iproute2 did not have a release with strick checks enabled,
and it will only need a minor one-liner to pass strick checks
after all the work that DaveA has already done.

Big thanks to Dave Ahern for help and guidence.

v2:
 - remove unnecessary check in patch 5 (Nicolas);
 - add path 7 (DaveA);
 - improve messages in patch 8 (DaveA).
====================

Signed-off-by: David S. Miller <davem@davemloft.net>