Skip to content
Snippets Groups Projects
Commit 9cd64fa7 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

generic: Remove IPv6 depependency of bridge in 2.6.38+ Since 2.6.38 the bridge...

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: default avatarJonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27237
parent ab74628c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment