]> err.no Git - linux-2.6/commit
[IPV4]: Convert address addition to new netlink api
authorThomas Graf <tgraf@suug.ch>
Sat, 5 Aug 2006 06:03:53 +0000 (23:03 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:53:45 +0000 (14:53 -0700)
commit5c7539781d392629fb40b04aad9a1f197b66cd01
tree4c625e6191c7dd9fdb7d2479993c4b94ea322290
parentbf8b79e444a748963c71d2a58709e1ce5597e1b5
[IPV4]: Convert address addition to new netlink api

Adds rtm_to_ifaddr() transforming a netlink message to a
struct in_ifaddr. Fixes various unvalidated netlink attributes
causing memory corruptions when left empty by userspace
applications.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c