search for: amwang

Displaying 20 results from an estimated 23 matches for "amwang".

Did you mean: ampang
2012 Jul 27
1
[Bridge] [PATCH 4/7] bridge: call NETDEV_RELEASE notifier in br_del_if()
When a bridge interface deletes its underlying ports, it should notify netconsole too, like what bonding interface does. Cc: "David S. Miller" <davem at davemloft.net> Signed-off-by: Cong Wang <amwang at redhat.com> --- net/bridge/br_if.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index e1144e1..d243914 100644 --- a/net/bridge/br_if.c +++ b/net/bridge/br_if.c @@ -427,6 +427,7 @@ int br_del_if(struct net_bridge *br, struct...
2009 Jul 06
2
[Patch] btrfs: use file_remove_suid() after i_mutex is held
file_remove_suid() should be called with i_mutex held, file_update_time() too. So move them after mutex_lock(). Plus, check the return value of kmalloc(). Signed-off-by: WANG Cong <amwang@redhat.com> --- diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 7c3cd24..cd36301 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -944,14 +944,17 @@ static ssize_t btrfs_file_write(struct file *file, const char __user *buf, if (count == 0) goto out_nolock; + mutex_lock(&ino...
2012 Dec 07
3
[Bridge] [PATCH net-next v5] bridge: export multicast database via netlink
From: Cong Wang <amwang at redhat.com> V5: fix two bugs pointed out by Thomas remove seq check for now, mark it as TODO V4: remove some useless #include some coding style fix V3: drop debugging printk's update selinux perm table as well V2: drop patch 1/2, export ifindex directly Redesign netlin...
2012 Dec 20
3
[Bridge] [PATCH 1/3] iproute2: distinguish permanent and temporary mdb entries
This patch adds a flag to mdb entries so that we can distinguish permanent entries with temporary ones. Cc: Stephen Hemminger <shemminger at vyatta.com> Signed-off-by: Cong Wang <amwang at redhat.com> --- bridge/mdb.c | 24 +++++++++++++++--------- include/linux/if_bridge.h | 3 +++ 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/bridge/mdb.c b/bridge/mdb.c index 121ce9c..6217c5f 100644 --- a/bridge/mdb.c +++ b/bridge/mdb.c @@ -28,7 +28,7 @@ i...
2009 Jul 06
2
[Patch v2] btrfs: use file_remove_suid() after i_mutex is held
V1 -> V2: Move kmalloc() before mutex_lock(), suggested by Arjan. file_remove_suid() should be called with i_mutex held, file_update_time() too. So move them after mutex_lock(). Plus, check the return value of kmalloc(). Signed-off-by: WANG Cong <amwang@redhat.com> Cc: Arjan <arjan@infradead.org> Cc: Chris Mason <chris.mason@oracle.com> Cc: Yan Zheng <zheng.yan@oracle.com> Cc: Sven Wegener <sven.wegener@stealer.net> Cc: Josef Bacik <jbacik@redhat.com> Cc: Jeff Mahoney <jeffm@suse.com> --- diff --git a/fs/btr...
2013 Mar 08
3
[Bridge] [Patch net] bridge: do not expire mdb entry when bridge still uses it
From: Cong Wang <amwang at redhat.com> This is a long-standing bug and reported several times: https://bugzilla.redhat.com/show_bug.cgi?id=880035 http://marc.info/?l=linux-netdev&m=136164389416341&w=2 This bug can be observed in virt environment, when a KVM guest communicates with the host via multicast. Afte...
2009 Jul 06
1
[Patch v3] btrfs: use file_remove_suid() after i_mutex is held
...NOMEM when kmalloc() fails. Thanks to Tao. V1 -> V2: Move kmalloc() before mutex_lock(), suggested by Arjan. file_remove_suid() should be called with i_mutex held, file_update_time() too. So move them after mutex_lock(). Plus, check the return value of kmalloc(). Signed-off-by: WANG Cong <amwang@redhat.com> Cc: Arjan <arjan@infradead.org> Cc: Chris Mason <chris.mason@oracle.com> Cc: Yan Zheng <zheng.yan@oracle.com> Cc: Sven Wegener <sven.wegener@stealer.net> Cc: Josef Bacik <jbacik@redhat.com> Cc: Jeff Mahoney <jeffm@suse.com> Cc: Tao Ma <tao.ma@or...
2011 May 01
2
[Patch] ocfs2: remove the /sys/o2cb symlink
It is obsoleted since Dec 2005. Signed-off-by: WANG Cong <amwang at redhat.com> --- Documentation/ABI/obsolete/o2cb | 11 ----------- Documentation/ABI/removed/o2cb | 10 ++++++++++ Documentation/feature-removal-schedule.txt | 10 ---------- fs/ocfs2/cluster/sys.c | 9 --------- 4 files changed, 10 inserti...
2012 Dec 10
0
[Bridge] [PATCH v5] iproute2: add mdb sub-command to bridge
From: Cong Wang <amwang at redhat.com> V5: make the output pretty V4: fix filter_dev remove some useless #include V3: improve the output, display router info only for -d fix router parsing code V2: sync with the kernel patch handle IPv6 addr a few cleanup Sample output: # ./bridge/bridge mdb show...
2012 Dec 07
3
[Bridge] [PATCH net-next v4] bridge: export multicast database via netlink
From: Cong Wang <amwang at redhat.com> V4: remove some useless #include some coding style fix V3: drop debugging printk's update selinux perm table as well V2: drop patch 1/2, export ifindex directly Redesign netlink attributes Improve netlink seq check Handle IPv6 addr as well This patch ex...
2012 Nov 27
3
[Bridge] [RFC PATCH 1/2] bridge: export port_no and port_id via IFA_INFO_DATA
...Cc: Herbert Xu <herbert at gondor.apana.org.au> Cc: Stephen Hemminger <shemminger at vyatta.com> Cc: "David S. Miller" <davem at davemloft.net> Cc: Thomas Graf <tgraf at suug.ch> Cc: Jesper Dangaard Brouer <brouer at redhat.com> Signed-off-by: Cong Wang <amwang at redhat.com> --- include/uapi/linux/if_link.h | 2 ++ net/bridge/br_netlink.c | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index bb58aeb..9cd91a9 100644 --- a/include/uapi/linux/if_link.h +...
2012 Dec 05
2
[Bridge] [PATCH net-next v3] bridge: export multicast database via netlink
...Cc: Herbert Xu <herbert at gondor.apana.org.au> Cc: Stephen Hemminger <shemminger at vyatta.com> Cc: "David S. Miller" <davem at davemloft.net> Cc: Thomas Graf <tgraf at suug.ch> Cc: Jesper Dangaard Brouer <brouer at redhat.com> Signed-off-by: Cong Wang <amwang at redhat.com> --- include/uapi/linux/if_bridge.h | 55 ++++++++++++++ include/uapi/linux/rtnetlink.h | 3 + net/bridge/Makefile | 2 +- net/bridge/br_mdb.c | 161 ++++++++++++++++++++++++++++++++++++++++ net/bridge/br_multicast.c | 2 + net/bridge/br...
2018 Apr 22
0
[cfe-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang
On 21 Apr 2018, at 22:19, Chris Lattner via llvm-dev <llvm-dev at lists.llvm.org> wrote: > >> >> On Apr 20, 2018, at 2:06 AM, Csaba Raduly via cfe-dev <cfe-dev at lists.llvm.org> wrote: >> >> On 4/20/18, James Y Knight wrote: >>> >>> >>> Yep. "-fnull-pointer-is-valid" has been suggested before. >>> >>
2018 Apr 21
2
[cfe-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang
> On Apr 20, 2018, at 2:06 AM, Csaba Raduly via cfe-dev <cfe-dev at lists.llvm.org> wrote: > > On 4/20/18, James Y Knight wrote: >> >> >> Yep. "-fnull-pointer-is-valid" has been suggested before. >> > > -fplacate-linux-kernel-developers ? Please, lets keep this discussion on topic and productive. The semantics described upstream of (the
2013 Mar 18
0
[linux-linus test] 17325: regressions - trouble: broken/fail/pass
...ogle.com> Colin Foe-Parker <colin.foeparker@logicpd.com> Colin Ian King <colin.king@canonical.com> Colin King <colin.king@canonical.com> Cong Ding <dinggnu@gmail.com> Cong Meng <mc@linux.vnet.ibm.com> Cong Meng <mengcong@cn.ibm.com> Cong Wang <amwang@redhat.com> Cong Wang <xiyou.wangcong@gmail.com> Conor O''Gorman <i@conorogorman.net> Constantine Shulyupin <const@MakeLinux.com> Cooper Yuan <cooperyuan@gmail.com> Copot Alexandru <alex.mihai.c@gmail.com> Corbin Atkinson <corbin.atkinson@ni.c...
2013 Mar 29
0
[linux-linus test] 17454: regressions - FAIL
...ogle.com> Colin Foe-Parker <colin.foeparker@logicpd.com> Colin Ian King <colin.king@canonical.com> Colin King <colin.king@canonical.com> Cong Ding <dinggnu@gmail.com> Cong Meng <mc@linux.vnet.ibm.com> Cong Meng <mengcong@cn.ibm.com> Cong Wang <amwang@redhat.com> Cong Wang <xiyou.wangcong@gmail.com> Conor O''Gorman <i@conorogorman.net> Constantine Shulyupin <const@MakeLinux.com> Cooper Yuan <cooperyuan@gmail.com> Copot Alexandru <alex.mihai.c@gmail.com> Corbin Atkinson <corbin.atkinson@ni.c...
2013 Apr 10
0
[linux-linus test] 17612: regressions - FAIL
...ogle.com> Colin Foe-Parker <colin.foeparker@logicpd.com> Colin Ian King <colin.king@canonical.com> Colin King <colin.king@canonical.com> Cong Ding <dinggnu@gmail.com> Cong Meng <mc@linux.vnet.ibm.com> Cong Meng <mengcong@cn.ibm.com> Cong Wang <amwang@redhat.com> Cong Wang <xiyou.wangcong@gmail.com> Conor O''Gorman <i@conorogorman.net> Constantine Shulyupin <const@MakeLinux.com> Cooper Yuan <cooperyuan@gmail.com> Copot Alexandru <alex.mihai.c@gmail.com> Corbin Atkinson <corbin.atkinson@ni.c...
2013 May 05
0
[linux-linus test] 17901: regressions - FAIL
...ogle.com> Colin Foe-Parker <colin.foeparker@logicpd.com> Colin Ian King <colin.king@canonical.com> Colin King <colin.king@canonical.com> Cong Ding <dinggnu@gmail.com> Cong Meng <mc@linux.vnet.ibm.com> Cong Meng <mengcong@cn.ibm.com> Cong Wang <amwang@redhat.com> Cong Wang <xiyou.wangcong@gmail.com> Conor O''Gorman <i@conorogorman.net> Constantine Shulyupin <const@MakeLinux.com> Cooper Yuan <cooperyuan@gmail.com> Copot Alexandru <alex.mihai.c@gmail.com> Corbin Atkinson <corbin.atkinson@ni.c...
2013 May 07
0
[linux-linus test] 17916: regressions - FAIL
...ogle.com> Colin Foe-Parker <colin.foeparker@logicpd.com> Colin Ian King <colin.king@canonical.com> Colin King <colin.king@canonical.com> Cong Ding <dinggnu@gmail.com> Cong Meng <mc@linux.vnet.ibm.com> Cong Meng <mengcong@cn.ibm.com> Cong Wang <amwang@redhat.com> Cong Wang <xiyou.wangcong@gmail.com> Conor O''Gorman <i@conorogorman.net> Constantine Shulyupin <const@MakeLinux.com> Cooper Yuan <cooperyuan@gmail.com> Copot Alexandru <alex.mihai.c@gmail.com> Corbin Atkinson <corbin.atkinson@ni.c...
2013 Jun 16
0
[linux-linus test] 18150: regressions - FAIL
...ogle.com> Colin Foe-Parker <colin.foeparker@logicpd.com> Colin Ian King <colin.king@canonical.com> Colin King <colin.king@canonical.com> Cong Ding <dinggnu@gmail.com> Cong Meng <mc@linux.vnet.ibm.com> Cong Meng <mengcong@cn.ibm.com> Cong Wang <amwang@redhat.com> Cong Wang <xiyou.wangcong@gmail.com> Conor O''Gorman <i@conorogorman.net> Constantine Shulyupin <const@MakeLinux.com> Cooper Yuan <cooperyuan@gmail.com> Copot Alexandru <alex.mihai.c@gmail.com> Corbin Atkinson <corbin.atkinson@ni.c...