FreeBSD Bugzilla – Attachment 205175 Details for
Bug 238657
netpfil: ipfw: replace D with DX in ip_dn_glue.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch file
0001-netpfil-ipfw-replace-D-with-DX-in-ip_dn_glue.c.patch (text/plain), 1010 bytes, created by
Fuqian
on 2019-06-17 11:26:49 UTC
(
hide
)
Description:
The patch file
Filename:
MIME Type:
Creator:
Fuqian
Created:
2019-06-17 11:26:49 UTC
Size:
1010 bytes
patch
obsolete
>From f74f89bbc097e1464e6f7060d17691c37aa64c09 Mon Sep 17 00:00:00 2001 >From: Fuqian Huang <huangfq.daxian@gmail.com> >Date: Mon, 17 Jun 2019 16:27:16 +0800 >Subject: [PATCH] netpfil: ipfw: replace D with DX in ip_dn_glue.c > >Use DX to print the pointer at a certain debug level >rather than use D to print the kernel pointer every time. > >Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com> >--- > sys/netpfil/ipfw/ip_dn_glue.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/sys/netpfil/ipfw/ip_dn_glue.c b/sys/netpfil/ipfw/ip_dn_glue.c >index 7beb8525e30..568bde3ca3f 100644 >--- a/sys/netpfil/ipfw/ip_dn_glue.c >+++ b/sys/netpfil/ipfw/ip_dn_glue.c >@@ -836,7 +836,7 @@ ip_dummynet_compat(struct sockopt *sopt) > return 0;//XXX ? > size = sopt->sopt_valsize; > sopt->sopt_valsize = original_size; >- D("size=%d, buf=%p", size, buf); >+ DX(2, "size=%d, buf=%p", size, buf); > ret = sooptcopyout(sopt, buf, size); > if (ret) > printf(" %s ERROR sooptcopyout\n", __FUNCTION__); >-- >2.11.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 238657
: 205175