gre: minor cleanups in netlink interface
authorPatrick McHardy <kaber@trash.net>
Fri, 10 Oct 2008 19:11:06 +0000 (12:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Oct 2008 19:11:06 +0000 (12:11 -0700)
commit4d74f8ba1fb152ae07eb858abb713e094e77b7d5
tree83e70fcafaee8fba793573a59f918c37a2f9bf53
parentba9e64b1c23f1dd22fea14c310f739d84ac8b748
gre: minor cleanups in netlink interface

- use typeful helpers for IFLA_GRE_LOCAL/IFLA_GRE_REMOTE
- replace magic value by FIELD_SIZEOF
- use MODULE_ALIAS_RTNL_LINK macro

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