]> git.baikalelectronics.ru Git - kernel.git/commit
net: Remove protocol from struct dst_ops
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 9 Mar 2015 18:14:37 +0000 (13:14 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2015 20:06:10 +0000 (16:06 -0400)
commit5b1d4470bbb9cbb2ab6a11739e418cfecc423c98
tree73f04d0f75a1ee417b80a7c3dd4b2f76096b1d09
parent7fb28ae14944bb8897ec485b7ea2f1c67ff531dd
net: Remove protocol from struct dst_ops

After my change to neigh_hh_init to obtain the protocol from the
neigh_table there are no more users of protocol in struct dst_ops.
Remove the protocol field from dst_ops and all of it's initializers.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst_ops.h
net/bridge/br_nf_core.c
net/decnet/dn_route.c
net/ipv4/route.c
net/ipv4/xfrm4_policy.c
net/ipv6/route.c
net/ipv6/xfrm6_policy.c