From: Hagen Paul Pfeifer <hidden> Date: 2011-02-25 15:53:25
addr_type of 0 means that the type should be adopted from from_dev and
not from __hw_addr_del_multiple(). Unfortunately it isn't so and
addr_type will always be considered. Fix this by implementing the
considered and documented behavior.
Signed-off-by: Hagen Paul Pfeifer <redacted>
---
net/core/dev_addr_lists.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: Hagen Paul Pfeifer <hidden> Date: 2011-02-25 15:53:25
Declaration and assignment of newdp is removed. Usage of dccp_sk()
exhibit no side effects.
Signed-off-by: Hagen Paul Pfeifer <redacted>
---
net/dccp/ipv6.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
From: Hagen Paul Pfeifer <hidden> Date: 2011-02-25 15:53:25
rtnl_unicast() return value is not of interest, we can silently ignore
it, save some instructions and four byte on the stack.
Signed-off-by: Hagen Paul Pfeifer <redacted>
---
net/ipv6/ip6mr.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
From: Hagen Paul Pfeifer <hidden> Date: 2011-02-25 15:53:26
hash is declared and assigned but not used anymore. ipv6_addr_hash()
exhibit no side-effects.
Signed-off-by: Hagen Paul Pfeifer <redacted>
---
net/ipv6/addrconf.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
From: David Miller <davem@davemloft.net> Date: 2011-02-25 21:58:29
From: Hagen Paul Pfeifer <redacted>
Date: Fri, 25 Feb 2011 16:45:15 +0100
addr_type of 0 means that the type should be adopted from from_dev and
not from __hw_addr_del_multiple(). Unfortunately it isn't so and
addr_type will always be considered. Fix this by implementing the
considered and documented behavior.
Signed-off-by: Hagen Paul Pfeifer <redacted>
From: David Miller <davem@davemloft.net> Date: 2011-02-25 22:00:31
From: Hagen Paul Pfeifer <redacted>
Date: Fri, 25 Feb 2011 16:45:20 +0100
rtnl_unicast() return value is not of interest, we can silently ignore
it, save some instructions and four byte on the stack.
Signed-off-by: Hagen Paul Pfeifer <redacted>