Wireshark-commits: [Wireshark-commits] master-1.10 3d19ab7: Work around a Linux bonding driver bug

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 30 Mar 2015 23:36:27 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3d19ab73ec8a0b55983f49e9746b697dbc67d7cd
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

3d19ab7 by Guy Harris (guy@xxxxxxxxxxxx):

    Work around a Linux bonding driver bug (and the lack of a libpcap workaround).
    
    The bonding driver does not properly handle unknown ioctls; it returns
    ENODEV rather than ENOTSUP, EOPNOTSUPP, ENOTTY, or a "not supported"
    error of that type.  This causes problems detailed in bug 11058.
    
    On Linux, check for bonding devices before checking for monitor-mode
    support.
    
    While we're at it, get rid of a commented-out include of
    CheckCSourceCompiles (it's presumably already been implicitly included
    by other functions that use it).
    
    Bug: 11058
    Change-Id: Ifd63d78f595e1890dbb2deec9ce92d60eb80e02d
    Reviewed-on: https://code.wireshark.org/review/7858
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit d1d124d500b7e5f242d34f0b154418ce672db69f)
    Reviewed-on: https://code.wireshark.org/review/7861
    

Actions performed:

    from  3d5e852   [Automatic manuf, services and enterprise-numbers update for 2015-03-29]
    adds  3d19ab7   Work around a Linux bonding driver bug (and the lack of a libpcap workaround).


Summary of changes:
 ConfigureChecks.cmake |   31 ++++++++++++++++--
 configure.ac          |   11 +++++++
 dumpcap.c             |   85 ++++++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 124 insertions(+), 3 deletions(-)