Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: rin
Date: Fri Jul 5 04:31:54 UTC 2024
Modified Files:
src/sys/arch/arm/at91: at91emac.c
src/sys/arch/arm/ep93xx: epe.c
src/sys/arch/emips/ebus: if_le_ebus.c
src/sys/arch/mips/atheros/dev: if_ae.c
src/sys/arch/newsmips/apbus: if_sn.c
src/sys/arch/next68k/dev: if_xe.c
src/sys/arch/sgimips/hpc: if_sq.c
src/sys/arch/sun2/dev: if_ec.c
src/sys/arch/xen/xen: xennetback_xenbus.c
src/sys/dev: kttcp.c
src/sys/dev/bluetooth: bcsp.c bth5.c btsco.c btuart.c
src/sys/dev/cadence: if_cemac.c
src/sys/dev/hyperv: if_hvn.c
src/sys/dev/ic: arn5008.c arn9003.c ath.c awi.c dwc_eqos.c dwc_gmac.c
elink3.c gem.c hd64570.c i82596.c rtl8169.c smc90cx6.c tulip.c
src/sys/dev/ieee1394: if_fwip.c
src/sys/dev/marvell: if_gfe.c if_mvgbe.c
src/sys/dev/pci: if_alc.c if_aq.c if_bge.c if_bwfm_pci.c if_dge.c
if_iwi.c if_jme.c if_mcx.c if_nfe.c if_pcn.c if_sip.c if_sk.c
if_stge.c if_ti.c if_vge.c if_vmx.c if_vte.c if_wm.c
src/sys/dev/pci/igc: if_igc.c
src/sys/dev/pcmcia: bt3c.c btbc.c
src/sys/dev/qbus: if_dmc.c if_qe.c
src/sys/dev/sdmmc: sbt.c
src/sys/dev/usb: if_atu.c if_rum.c if_umb.c if_ural.c if_urtw.c ubt.c
src/sys/dist/pf/net: if_pfsync.c
src/sys/fs/nfs/client: nfs_clkrpc.c nfs_clrpcops.c
src/sys/fs/nfs/common: krpc_subr.c nfs_commonsubs.c
src/sys/fs/nfs/server: nfs_nfsdcache.c nfs_nfsdkrpc.c nfs_nfsdserv.c
nfs_nfsdstate.c
src/sys/kern: subr_tftproot.c uipc_socket.c uipc_syscalls.c
src/sys/net: bridgestp.c bsd-comp.c if_arcsubr.c if_bridge.c
if_ethersubr.c if_gre.c if_ppp.c if_pppoe.c if_spppsubr.c if_tap.c
if_tun.c if_wg.c ppp-deflate.c ppp_tty.c raw_usrreq.c
src/sys/net/lagg: if_lagg.c
src/sys/net80211: ieee80211_node.c ieee80211_output.c
src/sys/netatalk: aarp.c
src/sys/netbt: hci_link.c hci_socket.c l2cap_socket.c rfcomm_session.c
rfcomm_socket.c rfcomm_upper.c sco_socket.c
src/sys/netcan: can.c
src/sys/netinet: dccp_usrreq.c in_offload.c ip_input.c raw_ip.c
sctp_indata.c sctp_input.c sctp_output.c sctp_pcb.c sctp_usrreq.c
sctputil.c tcp_input.c tcp_output.c tcp_subr.c udp_usrreq.c
src/sys/netinet6: icmp6.c in6_offload.c raw_ip6.c sctp6_usrreq.c
udp6_usrreq.c
src/sys/netipsec: ipsec_input.c ipsec_output.c key.c keysock.c
xform_ah.c xform_esp.c xform_ipcomp.c xform_ipip.c
src/sys/nfs: krpc_subr.c nfs_boot.c nfs_bootdhcp.c nfs_bootparam.c
nfs_clntsocket.c nfs_srvsocket.c nfs_syscalls.c nfsm_subs.h
Log Message:
sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Compile-tested on amd64/ALL.
Suggested by knakahara@
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/arm/at91/at91emac.c
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/arm/ep93xx/epe.c
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/emips/ebus/if_le_ebus.c
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/mips/atheros/dev/if_ae.c
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/newsmips/apbus/if_sn.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/next68k/dev/if_xe.c
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/sgimips/hpc/if_sq.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/sun2/dev/if_ec.c
cvs rdiff -u -r1.125 -r1.126 src/sys/arch/xen/xen/xennetback_xenbus.c
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/kttcp.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/bluetooth/bcsp.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/bluetooth/bth5.c
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/bluetooth/btsco.c
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/bluetooth/btuart.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/cadence/if_cemac.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/hyperv/if_hvn.c
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/ic/arn5008.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/ic/arn9003.c
cvs rdiff -u -r1.138 -r1.139 src/sys/dev/ic/ath.c
cvs rdiff -u -r1.101 -r1.102 src/sys/dev/ic/awi.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/ic/dwc_eqos.c
cvs rdiff -u -r1.87 -r1.88 src/sys/dev/ic/dwc_gmac.c
cvs rdiff -u -r1.153 -r1.154 src/sys/dev/ic/elink3.c
cvs rdiff -u -r1.137 -r1.138 src/sys/dev/ic/gem.c
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/ic/hd64570.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/ic/i82596.c
cvs rdiff -u -r1.176 -r1.177 src/sys/dev/ic/rtl8169.c
cvs rdiff -u -r1.75 -r1.76 src/sys/dev/ic/smc90cx6.c
cvs rdiff -u -r1.212 -r1.213 src/sys/dev/ic/tulip.c
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ieee1394/if_fwip.c
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/marvell/if_gfe.c
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/marvell/if_mvgbe.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/pci/if_alc.c
cvs rdiff -u -r1.48 -r1.49 src/sys/dev/pci/if_aq.c
cvs rdiff -u -r1.392 -r1.393 src/sys/dev/pci/if_bge.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/if_bwfm_pci.c
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/pci/if_dge.c
cvs rdiff -u -r1.120 -r1.121 src/sys/dev/pci/if_iwi.c
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/pci/if_jme.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/pci/if_mcx.c
cvs rdiff -u -r1.80 -r1.81 src/sys/dev/pci/if_nfe.c
cvs rdiff -u -r1.78 -r1.79 src/sys/dev/pci/if_pcn.c
cvs rdiff -u -r1.192 -r1.193 src/sys/dev/pci/if_sip.c
cvs rdiff -u -r1.112 -r1.113 src/sys/dev/pci/if_sk.c
cvs rdiff -u -r1.92 -r1.93 src/sys/dev/pci/if_stge.c
cvs rdiff -u -r1.123 -r1.124 src/sys/dev/pci/if_ti.c
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/pci/if_vge.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/if_vmx.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/pci/if_vte.c
cvs rdiff -u -r1.799 -r1.800 src/sys/dev/pci/if_wm.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/pci/igc/if_igc.c
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/pcmcia/bt3c.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pcmcia/btbc.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/qbus/if_dmc.c
cvs rdiff -u -r1.82 -r1.83 src/sys/dev/qbus/if_qe.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/sdmmc/sbt.c
cvs rdiff -u -r1.76 -r1.77 src/sys/dev/usb/if_atu.c
cvs rdiff -u -r1.70 -r1.71 src/sys/dev/usb/if_rum.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/usb/if_umb.c
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/usb/if_ural.c src/sys/dev/usb/ubt.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/usb/if_urtw.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dist/pf/net/if_pfsync.c
cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/client/nfs_clkrpc.c
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/nfs/client/nfs_clrpcops.c
cvs rdiff -u -r1.6 -r1.7 src/sys/fs/nfs/common/krpc_subr.c \
src/sys/fs/nfs/common/nfs_commonsubs.c
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/nfs/server/nfs_nfsdcache.c \
src/sys/fs/nfs/server/nfs_nfsdkrpc.c
cvs rdiff -u -r1.5 -r1.6 src/sys/fs/nfs/server/nfs_nfsdserv.c \
src/sys/fs/nfs/server/nfs_nfsdstate.c
cvs rdiff -u -r1.25 -r1.26 src/sys/kern/subr_tftproot.c
cvs rdiff -u -r1.309 -r1.310 src/sys/kern/uipc_socket.c
cvs rdiff -u -r1.211 -r1.212 src/sys/kern/uipc_syscalls.c
cvs rdiff -u -r1.26 -r1.27 src/sys/net/bridgestp.c
cvs rdiff -u -r1.22 -r1.23 src/sys/net/bsd-comp.c
cvs rdiff -u -r1.85 -r1.86 src/sys/net/if_arcsubr.c
cvs rdiff -u -r1.190 -r1.191 src/sys/net/if_bridge.c
cvs rdiff -u -r1.326 -r1.327 src/sys/net/if_ethersubr.c
cvs rdiff -u -r1.185 -r1.186 src/sys/net/if_gre.c
cvs rdiff -u -r1.172 -r1.173 src/sys/net/if_ppp.c
cvs rdiff -u -r1.183 -r1.184 src/sys/net/if_pppoe.c
cvs rdiff -u -r1.268 -r1.269 src/sys/net/if_spppsubr.c
cvs rdiff -u -r1.132 -r1.133 src/sys/net/if_tap.c
cvs rdiff -u -r1.175 -r1.176 src/sys/net/if_tun.c
cvs rdiff -u -r1.78 -r1.79 src/sys/net/if_wg.c
cvs rdiff -u -r1.23 -r1.24 src/sys/net/ppp-deflate.c
cvs rdiff -u -r1.72 -r1.73 src/sys/net/ppp_tty.c
cvs rdiff -u -r1.65 -r1.66 src/sys/net/raw_usrreq.c
cvs rdiff -u -r1.71 -r1.72 src/sys/net/lagg/if_lagg.c
cvs rdiff -u -r1.83 -r1.84 src/sys/net80211/ieee80211_node.c
cvs rdiff -u -r1.67 -r1.68 src/sys/net80211/ieee80211_output.c
cvs rdiff -u -r1.46 -r1.47 src/sys/netatalk/aarp.c
cvs rdiff -u -r1.26 -r1.27 src/sys/netbt/hci_link.c
cvs rdiff -u -r1.47 -r1.48 src/sys/netbt/hci_socket.c
cvs rdiff -u -r1.36 -r1.37 src/sys/netbt/l2cap_socket.c
cvs rdiff -u -r1.29 -r1.30 src/sys/netbt/rfcomm_session.c
cvs rdiff -u -r1.38 -r1.39 src/sys/netbt/rfcomm_socket.c \
src/sys/netbt/sco_socket.c
cvs rdiff -u -r1.23 -r1.24 src/sys/netbt/rfcomm_upper.c
cvs rdiff -u -r1.13 -r1.14 src/sys/netcan/can.c
cvs rdiff -u -r1.26 -r1.27 src/sys/netinet/dccp_usrreq.c \
src/sys/netinet/sctp_pcb.c
cvs rdiff -u -r1.14 -r1.15 src/sys/netinet/in_offload.c
cvs rdiff -u -r1.403 -r1.404 src/sys/netinet/ip_input.c
cvs rdiff -u -r1.185 -r1.186 src/sys/netinet/raw_ip.c
cvs rdiff -u -r1.15 -r1.16 src/sys/netinet/sctp_indata.c
cvs rdiff -u -r1.17 -r1.18 src/sys/netinet/sctp_input.c
cvs rdiff -u -r1.35 -r1.36 src/sys/netinet/sctp_output.c
cvs rdiff -u -r1.24 -r1.25 src/sys/netinet/sctp_usrreq.c
cvs rdiff -u -r1.19 -r1.20 src/sys/netinet/sctputil.c
cvs rdiff -u -r1.439 -r1.440 src/sys/netinet/tcp_input.c
cvs rdiff -u -r1.220 -r1.221 src/sys/netinet/tcp_output.c
cvs rdiff -u -r1.296 -r1.297 src/sys/netinet/tcp_subr.c
cvs rdiff -u -r1.264 -r1.265 src/sys/netinet/udp_usrreq.c
cvs rdiff -u -r1.257 -r1.258 src/sys/netinet6/icmp6.c
cvs rdiff -u -r1.12 -r1.13 src/sys/netinet6/in6_offload.c
cvs rdiff -u -r1.184 -r1.185 src/sys/netinet6/raw_ip6.c
cvs rdiff -u -r1.24 -r1.25 src/sys/netinet6/sctp6_usrreq.c
cvs rdiff -u -r1.154 -r1.155 src/sys/netinet6/udp6_usrreq.c
cvs rdiff -u -r1.80 -r1.81 src/sys/netipsec/ipsec_input.c
cvs rdiff -u -r1.86 -r1.87 src/sys/netipsec/ipsec_output.c
cvs rdiff -u -r1.283 -r1.284 src/sys/netipsec/key.c
cvs rdiff -u -r1.71 -r1.72 src/sys/netipsec/keysock.c
cvs rdiff -u -r1.114 -r1.115 src/sys/netipsec/xform_ah.c
cvs rdiff -u -r1.106 -r1.107 src/sys/netipsec/xform_esp.c
cvs rdiff -u -r1.75 -r1.76 src/sys/netipsec/xform_ipcomp.c
cvs rdiff -u -r1.78 -r1.79 src/sys/netipsec/xform_ipip.c
cvs rdiff -u -r1.42 -r1.43 src/sys/nfs/krpc_subr.c
cvs rdiff -u -r1.89 -r1.90 src/sys/nfs/nfs_boot.c
cvs rdiff -u -r1.58 -r1.59 src/sys/nfs/nfs_bootdhcp.c
cvs rdiff -u -r1.39 -r1.40 src/sys/nfs/nfs_bootparam.c
cvs rdiff -u -r1.6 -r1.7 src/sys/nfs/nfs_clntsocket.c
cvs rdiff -u -r1.5 -r1.6 src/sys/nfs/nfs_srvsocket.c
cvs rdiff -u -r1.163 -r1.164 src/sys/nfs/nfs_syscalls.c
cvs rdiff -u -r1.57 -r1.58 src/sys/nfs/nfsm_subs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index