netifd: correctly handle source-parameter for IPv4 routes

Thanks to Kristian Evensen

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43400 3c298f89-4303-0410-b956-a3cf2f4a3e73
[ar71xx]: add D-link DGL-5500 A1 support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43401 3c298f89-4303-0410-b956-a3cf2f4a3e73
firmware-utils: remove dependency on error.h in tplink-safeloader

Fixes build on Mac OS X

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43402 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns3xxx: fix pcie root bridge topology

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43403 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: keep __bug_table with gc-sections

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43404 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: add missing KEEP() statements for gc-sections patch in 3.18

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43405 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns3xxx: add experimental 3.18 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43406 3c298f89-4303-0410-b956-a3cf2f4a3e73
mt76: fix a compile error on 3.18

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43407 3c298f89-4303-0410-b956-a3cf2f4a3e73
mac80211: update regdb to master-2014-11-18

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43408 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: backport patches for overriding PHY reset to 3.14

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43409 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar8216: suppress PHY reset for linux 3.14

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43410 3c298f89-4303-0410-b956-a3cf2f4a3e73
mpc85xx: remove the PHY reset change patch (no longer necessary)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43411 3c298f89-4303-0410-b956-a3cf2f4a3e73
mpc85xx: refresh linux 3.14 patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43412 3c298f89-4303-0410-b956-a3cf2f4a3e73
mpc85xx: update to linux 3.14

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43413 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns3xxx: fix PCIe->PCI bridge access (fixes #18422)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43414 3c298f89-4303-0410-b956-a3cf2f4a3e73
odhcp6c: avoid busylooping with strangely behaving dhcpv6 servers

Thanks to Dave Taht for debugging and thanks to Comcast for
shipping strangely behaving software so I can fix some corner cases.

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43415 3c298f89-4303-0410-b956-a3cf2f4a3e73
scripts/config.sub: add back musl support that was accidentally dropped in r43353

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43417 3c298f89-4303-0410-b956-a3cf2f4a3e73
devel: import perf from oldpackages

perf was in the oldpackages repository, but it makes more sense to have
it part of the default package set since we build it from the Linux
kernel sources.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43418 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: 3.18: Fix patch 644 dependency chain

This patch introduces some code that is compiled in whenever
CONFIG_BRIDGE_NETFILTER is built, with the code called from code compiled under
CONFIG_BRIDGE, CONFIG_BRIDGE_IGMP_SNOOPING or CONFIG_BRIDGE_NF_EBTABLES.

Unfortunately, these options aren't setting explicitly the dependency they now
have on CONFIG_BRIDGE_NETFILTER, for obvious reasons for CONFIG_BRIDGE.

However, this is not working really well when CONFIG_BRIDGE_NETFILTER is built
as a module, since code statically compiled will now use a function that is not
in the kernel image, which makes the linker grumpy.

Solve this by removing the option to build CONFIG_BRIDGE_NETFILTER as a module,
and protect our function definition by an IS_BUILTIN instead of a IS_ENABLED
macro. This fixes the issue for CONFIG_BRIDGE and CONFIG_BRIDGE_IGMP_SNOOPING.

Fixing CONFIG_BRIDGE_NF_EBTABLES has to be handled a bit differently, since it
directly references a variable that will not be declared if
CONFIG_BRIDGE_NETFILTER is not set. Protect the variable affectations by an
ifdef to make sure this doesn't happen.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43419 3c298f89-4303-0410-b956-a3cf2f4a3e73
ntp: add hotplug class for ntp-events

Based on a patch by Luiz Angelo Daros de Luca

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43421 3c298f89-4303-0410-b956-a3cf2f4a3e73