[PATCH] generic: Remove IPv6 depependency of bridge in 2.6.38+
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 19 Jun 2011 22:48:53 +0000 (22:48 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 19 Jun 2011 22:48:53 +0000 (22:48 +0000)
commit7733d536b3de716df316c502590ea3b139aa2a23
tree4081746685a3de2540a4f6dd3a529be156f1432a
parente13c1d256fe8c40b650645851b48cce3cb108d6c
[PATCH] generic: Remove IPv6 depependency of bridge in 2.6.38+
Since 2.6.38 the bridge module has a dependency to IPv6 if IPv6 is
enabled. Since the IPv6 module isn't exactly lightweight and bridge also
only needs a single function from IPv6, it's rather easy to create a
common "lib" module with a RCU pointer to the actual implementation, if
the IPv6 module is loaded (although slightly hackish).

The codepath seems to be only taken when using IPv6, so there should be
no negative side effects when IPv6 isn't loaded. I did not measure how
big the performance impact is.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27237 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/patches-2.6.38/643-bridge_remove_ipv6_dependency.patch [new file with mode: 0644]
target/linux/generic/patches-2.6.39/643-bridge_remove_ipv6_dependency.patch [new file with mode: 0644]
target/linux/generic/patches-3.0/643-bridge_remove_ipv6_dependency.patch [new file with mode: 0644]