Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux-backend-4.9.5
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pacer
linux-backend-4.9.5
Commits
0208f24c
Commit
0208f24c
authored
7 years ago
by
Aastha Mehta
Browse files
Options
Downloads
Patches
Plain Diff
disable prints in bridge functions
parent
ec79c4e5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
net/bridge/br_forward.c
+4
-0
4 additions, 0 deletions
net/bridge/br_forward.c
with
4 additions
and
0 deletions
net/bridge/br_forward.c
+
4
−
0
View file @
0208f24c
...
...
@@ -11,10 +11,12 @@
* 2 of the License, or (at your option) any later version.
*/
#if 0
#ifdef CONFIG_XEN_SME
#include "../../drivers/net/ethernet/broadcom/bnx2x/sme/xen_sme_hooks.h"
#define DBG_BUF_SIZE 256
#endif
#endif
#include
<linux/err.h>
#include
<linux/slab.h>
#include
<linux/kernel.h>
...
...
@@ -39,11 +41,13 @@ static inline int should_deliver(const struct net_bridge_port *p,
int
br_dev_queue_push_xmit
(
struct
net
*
net
,
struct
sock
*
sk
,
struct
sk_buff
*
skb
)
{
#if 0
#ifdef CONFIG_XEN_SME
char dbg_buff[DBG_BUF_SIZE];
memset(dbg_buff, 0, DBG_BUF_SIZE);
sprintf(dbg_buff, "%s:%d, caller: %pS", __func__, __LINE__, __builtin_return_address(0));
xsl_print_sk_buff(skb, dbg_buff);
#endif
#endif
if
(
!
is_skb_forwardable
(
skb
->
dev
,
skb
))
goto
drop
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment