DragonFly BSD
DragonFly commits List (threaded) for 2012-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: bpf: Use bpf global token instead mplock to protect bpf stuffs


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Nov 2012 01:15:23 -0800 (PST)

commit fda7d3889b1114d34ad3a52a7257a2b80fe24e4c
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Thu Nov 29 17:16:06 2012 +0800

    bpf: Use bpf global token instead mplock to protect bpf stuffs
    
    Submitted-by: tuxillo@ w/ modification

Summary of changes:
 sys/dev/netif/ic/if_ic.c                      |    8 ++-
 sys/dev/netif/plip/if_plip.c                  |    8 ++-
 sys/net/bpf.c                                 |  111 +++++++++++++++++++-----
 sys/net/bpf.h                                 |   29 +++++--
 sys/net/disc/if_disc.c                        |   18 +++--
 sys/net/ef/if_ef.c                            |    8 ++-
 sys/net/ethernet.h                            |   14 ++-
 sys/net/faith/if_faith.c                      |   18 +++--
 sys/net/gif/if_gif.c                          |   36 +++++---
 sys/net/gre/if_gre.c                          |    8 ++-
 sys/net/if_loop.c                             |    4 +-
 sys/net/pf/if_pflog.c                         |   12 ++-
 sys/net/pf/if_pfsync.c                        |    7 +-
 sys/net/sl/if_sl.c                            |   51 +++++++----
 sys/net/stf/if_stf.c                          |   16 +++-
 sys/net/tun/if_tun.c                          |   68 +++++++++------
 sys/netgraph/fec/ng_fec.c                     |    8 ++-
 sys/netgraph/iface/ng_iface.c                 |    8 ++-
 sys/netgraph7/iface/ng_iface.c                |    8 ++-
 sys/netinet/ip_gre.c                          |   16 +++-
 sys/netproto/802_11/wlan/ieee80211_radiotap.c |   40 +++++++--
 21 files changed, 347 insertions(+), 149 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fda7d3889b1114d34ad3a52a7257a2b80fe24e4c


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]