]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r362045:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Jun 2020 10:41:51 +0000 (10:41 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Jun 2020 10:41:51 +0000 (10:41 +0000)
commitee6faa7e9013de1324315d6f1c1c7d788f4f6cd9
tree212f86d18e7acfcf2f45a4bdefa5ea853d666c39
parentd3c610efb854aacdbbf7923e511ac2a33b2aacf7
MFC r362045:
Make sure packets generated by raw IP code is let through by mlx5en(4).

Allow the TCP header to reside in the mbuf following the IP header.
Else such packets will get dropped.

Backtrace:
mlx5e_sq_xmit()
mlx5e_xmit()
ether_output_frame()
ether_output()
ip_output_send()
ip_output()
rip_output()
sosend_generic()
sosend()
kern_sendit()
sendit()
sys_sendto()
amd64_syscall()
fast_syscall_common()

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@362313 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c