[RTNETLINK]: Split up rtnl_setlink
authorPatrick McHardy <kaber@trash.net>
Wed, 13 Jun 2007 19:03:36 +0000 (12:03 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:14:16 +0000 (22:14 -0700)
commit0157f60c0caea24fa8347f4c0ed53297c412fce1
treeda02eb5bd1230395e4a431e5d61779ba89d4188b
parent6472ce6096bf27d85a1f2580964a36f290bd60a9
[RTNETLINK]: Split up rtnl_setlink

Split up rtnl_setlink into a function performing validation and a function
performing the actual changes. This allows to share the modifcation logic
with rtnl_newlink, which is introduced by the next patch.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c