git: kernel/ipsec: Fix useless m_pkthdr.len check.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sun Jan 21 11:06:49 PST 2018


commit afc135d394078c3cf7c964901a2d7b683e90fc58
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Jan 21 17:02:22 2018 +0200

    kernel/ipsec: Fix useless m_pkthdr.len check.
    
    Compare it against sadb_msg.
    
    Caught-by: gcc80 -Wtautological-compare

Summary of changes:
 sys/netproto/key/key.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list