aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.7/653-disable_netlink_trim.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-26 16:26:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-01-26 16:26:13 +0000
commit081d10c7392038050d3db11a7d628c371750b20c (patch)
tree24d7f96936770d3e3ee904982008bfcf174acc7e /target/linux/generic/patches-3.7/653-disable_netlink_trim.patch
parentbaf6422f7bf114647183d0458b73a73697b45ed2 (diff)
downloadupstream-081d10c7392038050d3db11a7d628c371750b20c.tar.gz
upstream-081d10c7392038050d3db11a7d628c371750b20c.tar.bz2
upstream-081d10c7392038050d3db11a7d628c371750b20c.zip
kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
in combination with kernel symbol export stripping this significantly reduces the kernel image size git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.7/653-disable_netlink_trim.patch')
-rw-r--r--target/linux/generic/patches-3.7/653-disable_netlink_trim.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.7/653-disable_netlink_trim.patch b/target/linux/generic/patches-3.7/653-disable_netlink_trim.patch
index 654d92e316..2a0a51a55f 100644
--- a/target/linux/generic/patches-3.7/653-disable_netlink_trim.patch
+++ b/target/linux/generic/patches-3.7/653-disable_netlink_trim.patch
@@ -1,6 +1,6 @@
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
-@@ -895,25 +895,7 @@ void netlink_detachskb(struct sock *sk,
+@@ -895,25 +895,7 @@ void netlink_detachskb(struct sock *sk,
static struct sk_buff *netlink_trim(struct sk_buff *skb, gfp_t allocation)
{