summaryrefslogtreecommitdiff
path: root/dev.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2017-02-06 18:23:11 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-02-06 17:43:36 +0100
commit506e22f6feb39d793434b473b60c8a20ccd12995 (patch)
treeed0576c16270aad71a506b9ae5a6b469430a7807 /dev.c
parent8fd19eefa46b313673d6ba2a0194a68674ef5ea9 (diff)
trafgen: l3: Make possible to send frames via tun device
tun interface does not have Ethernet header so lets push Ethernet header only if device supports this. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'dev.c')
0 files changed, 0 insertions, 0 deletions
rom the list if it finds a log commit is already done. Also, it uses list_del_init() to remove itself from the list, but there's no way to know if btrfs_remove_all_log_ctxs has already run, so we don't know for sure if it is safe to call list_del_init(). This gets rid of all the shortcuts for btrfs_remove_all_log_ctxs(), and just calls it with the proper locking. This is part two of the corruption fixed by cbd60aa7cd1. I should have done this in the first place, but convinced myself the optimizations were safe. A 12 hour run of dbench 2048 will eventually trigger a list debug WARN_ON for the list_del_init() in btrfs_sync_log(). Fixes: d1433debe7f4346cf9fc0dafc71c3137d2a97bc4 Reported-by: Dave Jones <davej@codemonkey.org.uk> cc: stable@vger.kernel.org # 3.15+ Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'Documentation/i2c')