Fix brcm63xx support. Now a kernel is booting, detecting the flash, and can probably...
[openwrt/svn-archive/archive.git] / openwrt / target / linux / brcm63xx-2.6 / patches / 050-disable-synchronize_net.patch
1 diff -Naurp linux-2.6.16.7-generic-patched/net/ipv4/af_inet.c linux-2.6.16.7-patched/net/ipv4/af_inet.c
2 --- linux-2.6.16.7-generic-patched/net/ipv4/af_inet.c 2006-04-17 23:53:25.000000000 +0200
3 +++ linux-2.6.16.7-patched/net/ipv4/af_inet.c 2006-07-05 15:33:47.000000000 +0200
4 @@ -940,7 +940,9 @@ void inet_register_protosw(struct inet_p
5 out:
6 spin_unlock_bh(&inetsw_lock);
7
8 +#ifndef CONFIG_MIPS_BRCM
9 synchronize_net();
10 +#endif
11
12 return;
13