Skip to content
Snippets Groups Projects
Commit 0208f24c authored by Aastha Mehta's avatar Aastha Mehta
Browse files

disable prints in bridge functions

parent ec79c4e5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
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