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
Kirill Smelkov
linux
Commits
25587b00
Commit
25587b00
authored
Oct 04, 2002
by
Lennert Buytenhek
Committed by
David S. Miller
Oct 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Remove net_call_rx_atomic.
parent
6955f61d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
22 deletions
+6
-22
include/linux/netdevice.h
include/linux/netdevice.h
+0
-1
net/bridge/br.c
net/bridge/br.c
+6
-6
net/core/dev.c
net/core/dev.c
+0
-14
net/netsyms.c
net/netsyms.c
+0
-1
No files found.
include/linux/netdevice.h
View file @
25587b00
...
...
@@ -587,7 +587,6 @@ static inline void dev_kfree_skb_any(struct sk_buff *skb)
dev_kfree_skb
(
skb
);
}
extern
void
net_call_rx_atomic
(
void
(
*
fn
)(
void
));
#define HAVE_NETIF_RX 1
extern
int
netif_rx
(
struct
sk_buff
*
skb
);
#define HAVE_NETIF_RECEIVE_SKB 1
...
...
net/bridge/br.c
View file @
25587b00
...
...
@@ -21,6 +21,7 @@
#include <linux/etherdevice.h>
#include <linux/init.h>
#include <linux/if_bridge.h>
#include <linux/brlock.h>
#include <asm/uaccess.h>
#include "br_private.h"
...
...
@@ -55,11 +56,6 @@ static int __init br_init(void)
return
0
;
}
static
void
__br_clear_frame_hook
(
void
)
{
br_handle_frame_hook
=
NULL
;
}
static
void
__br_clear_ioctl_hook
(
void
)
{
br_ioctl_hook
=
NULL
;
...
...
@@ -69,7 +65,11 @@ static void __exit br_deinit(void)
{
unregister_netdevice_notifier
(
&
br_device_notifier
);
br_call_ioctl_atomic
(
__br_clear_ioctl_hook
);
net_call_rx_atomic
(
__br_clear_frame_hook
);
br_write_lock_bh
(
BR_NETPROTO_LOCK
);
br_handle_frame_hook
=
NULL
;
br_write_unlock_bh
(
BR_NETPROTO_LOCK
);
#if defined(CONFIG_ATM_LANE) || defined(CONFIG_ATM_LANE_MODULE)
br_fdb_get_hook
=
NULL
;
br_fdb_put_hook
=
NULL
;
...
...
net/core/dev.c
View file @
25587b00
...
...
@@ -1374,20 +1374,6 @@ static void net_tx_action(struct softirq_action *h)
}
}
/**
* net_call_rx_atomic
* @fn: function to call
*
* Make a function call that is atomic with respect to the protocol
* layers.
*/
void
net_call_rx_atomic
(
void
(
*
fn
)(
void
))
{
br_write_lock_bh
(
BR_NETPROTO_LOCK
);
fn
();
br_write_unlock_bh
(
BR_NETPROTO_LOCK
);
}
#if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE)
int
(
*
br_handle_frame_hook
)(
struct
sk_buff
*
skb
)
=
NULL
;
#endif
...
...
net/netsyms.c
View file @
25587b00
...
...
@@ -587,7 +587,6 @@ EXPORT_SYMBOL(ip_route_me_harder);
EXPORT_SYMBOL
(
register_gifconf
);
EXPORT_SYMBOL
(
net_call_rx_atomic
);
EXPORT_SYMBOL
(
softnet_data
);
#if defined(CONFIG_NET_RADIO) || defined(CONFIG_NET_PCMCIA_RADIO)
...
...
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