Wireshark-commits: [Wireshark-commits] master-1.12 d1d124d: Work around a Linux bonding driver bug

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

Commits:

d1d124d 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>
    

Actions performed:

    from  5adb6b2   [Automatic manuf, services and enterprise-numbers update for 2015-03-29]
    adds  d1d124d   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(-)