Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
925511b7
Commit
925511b7
authored
Apr 11, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EBTABLES]: Get rid of brlock in ebtable_broute.
parent
21fed407
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
net/bridge/netfilter/ebtable_broute.c
net/bridge/netfilter/ebtable_broute.c
+1
-5
No files found.
net/bridge/netfilter/ebtable_broute.c
View file @
925511b7
...
...
@@ -14,7 +14,6 @@
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/module.h>
#include <linux/if_bridge.h>
#include <linux/brlock.h>
/* EBT_ACCEPT means the frame will be bridged
* EBT_DROP means the frame will be routed
...
...
@@ -70,18 +69,15 @@ static int __init init(void)
ret
=
ebt_register_table
(
&
broute_table
);
if
(
ret
<
0
)
return
ret
;
br_write_lock_bh
(
BR_NETPROTO_LOCK
);
/* see br_input.c */
br_should_route_hook
=
ebt_broute
;
br_write_unlock_bh
(
BR_NETPROTO_LOCK
);
return
ret
;
}
static
void
__exit
fini
(
void
)
{
br_write_lock_bh
(
BR_NETPROTO_LOCK
);
br_should_route_hook
=
NULL
;
br_write_unlock_bh
(
BR_NETPROTO_LOCK
);
synchronize_net
(
);
ebt_unregister_table
(
&
broute_table
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment