Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4107
b: refs/heads/master
c: 6935d46
h: refs/heads/master
i:
  4105: 7d96c5c
  4103: a661607
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jul 5, 2005
1 parent 21186bb commit ca5f6dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 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: 55820ee2f8c767a2833b21bd365e5753f50bd8ce
refs/heads/master: 6935d46c2da64aa032a557374c95336e265cd7ef
12 changes: 0 additions & 12 deletions trunk/net/core/filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,6 @@ int sk_run_filter(struct sk_buff *skb, struct sock_filter *filter, int flen)
case BPF_LD|BPF_W|BPF_ABS:
k = fentry->k;
load_w:
if (k >= 0 && (unsigned int)(k+sizeof(u32)) <= len) {
A = ntohl(*(u32*)&data[k]);
continue;
}
if (k < 0) {
u8 *ptr;

Expand All @@ -194,10 +190,6 @@ int sk_run_filter(struct sk_buff *skb, struct sock_filter *filter, int flen)
case BPF_LD|BPF_H|BPF_ABS:
k = fentry->k;
load_h:
if (k >= 0 && (unsigned int)(k + sizeof(u16)) <= len) {
A = ntohs(*(u16*)&data[k]);
continue;
}
if (k < 0) {
u8 *ptr;

Expand All @@ -220,10 +212,6 @@ int sk_run_filter(struct sk_buff *skb, struct sock_filter *filter, int flen)
case BPF_LD|BPF_B|BPF_ABS:
k = fentry->k;
load_b:
if (k >= 0 && (unsigned int)k < len) {
A = data[k];
continue;
}
if (k < 0) {
u8 *ptr;

Expand Down

0 comments on commit ca5f6dd

Please sign in to comment.