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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Nov 29 01:15:23 PST 2012


commit fda7d3889b1114d34ad3a52a7257a2b80fe24e4c
Author: Sepherosa Ziehau <sephe at 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



More information about the Commits mailing list