IPv6 routing, NLM_F_* flag support: warn if new route is created without NLM_F_CREATE
authorMatti Vaittinen <matti.vaittinen@nsn.com>
Mon, 14 Nov 2011 00:14:49 +0000 (00:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2011 19:35:33 +0000 (14:35 -0500)
commitd71314b4ac88637f9ac2770a9f635babdf6f2ff9
treed783319152ab7107b680c0654b2bd8dad2173d23
parentabbd00b82a2771b0460ba2cffdb1343aa827ccde
IPv6 routing, NLM_F_* flag support: warn if new route is created without NLM_F_CREATE

The support for NLM_F_* flags at IPv6 routing requests.

Warn if NLM_F_CREATE flag is not defined for RTM_NEWROUTE request,
creating new table. Later NLM_F_CREATE may be required for
new route creation.

Patch created against linux-3.2-rc1

Signed-off-by: Matti Vaittinen <Mazziesaccount@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c