Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368579
b: refs/heads/master
c: b34870f
h: refs/heads/master
i:
  368577: 5b7771b
  368575: bb9b152
v: v3
  • Loading branch information
David S. Miller committed Mar 21, 2013
1 parent b659ab3 commit 4385be0
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5470b462c3f0c6fa980c320968a165bd0f34ca8d
refs/heads/master: b34870fc9ff15fe46c4066faeeec437a4e63e2d8
3 changes: 1 addition & 2 deletions trunk/drivers/net/ethernet/chelsio/cxgb/sge.c
Original file line number Diff line number Diff line change
Expand Up @@ -1046,11 +1046,10 @@ static inline struct sk_buff *get_packet(struct pci_dev *pdev,
const struct freelQ_ce *ce = &fl->centries[fl->cidx];

if (len < copybreak) {
skb = alloc_skb(len + 2, GFP_ATOMIC);
skb = netdev_alloc_skb_ip_align(NULL, len);
if (!skb)
goto use_orig_buf;

skb_reserve(skb, 2); /* align IP header */
skb_put(skb, len);
pci_dma_sync_single_for_cpu(pdev,
dma_unmap_addr(ce, dma_addr),
Expand Down
3 changes: 1 addition & 2 deletions trunk/tools/testing/selftests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ TARGETS += vm
TARGETS += cpu-hotplug
TARGETS += memory-hotplug
TARGETS += efivarfs
TARGETS += net-socket
TARGETS += net-afpacket
TARGETS += net

all:
for TARGET in $(TARGETS); do \
Expand Down
16 changes: 0 additions & 16 deletions trunk/tools/testing/selftests/net-socket/Makefile

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# Makefile for net-socket selftests
# Makefile for net selftests

CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall

CFLAGS += -I../../../../usr/include/

AF_PACKET_PROGS = psock_fanout
NET_PROGS = socket psock_fanout

all: $(AF_PACKET_PROGS)
all: $(NET_PROGS)
%: %.c
$(CC) $(CFLAGS) -o $@ $^

run_tests: all
@/bin/sh ./run_netsocktests || echo "sockettests: [FAIL]"
@/bin/sh ./run_afpackettests || echo "afpackettests: [FAIL]"

clean:
$(RM) $(AF_PACKET_PROGS)
$(RM) $(NET_PROGS)
File renamed without changes.

0 comments on commit 4385be0

Please sign in to comment.